Function ziAPIInit#

ZIResult_enum ziAPIInit(ZIConnection *conn)#

Initializes a ZIConnection structure.

This function initializes the structure so that it is ready to connect to Data Server. It allocates memory and sets up the infrastructure needed.

See Connection for an example


conn[out] Pointer to ZIConnection that is to be initialized


  • ZI_INFO_SUCCESS on success

  • ZI_ERROR_MALLOC on memory allocation failure

  • Other return codes may also be returned, for a detailed error message use ziAPIGetLastError.