etebase_collection_manager_create method

Pointer<EtebaseCollection> etebase_collection_manager_create(
  1. Pointer<EtebaseCollectionManager> this_,
  2. Pointer<Char> collection_type,
  3. Pointer<EtebaseItemMetadata> meta,
  4. Pointer<Void> content,
  5. int content_size,
)

Create a new collection

Should be destroyed with etebase_collection_destroy

@param this_ the object handle @param collection_type the type of Items stored in the collection @param meta the ItemMetadata for the collection @param content the collection's content as a byte array. This is unrelated to the Items in the collection. @param content_size the content size

Implementation

ffi.Pointer<EtebaseCollection> etebase_collection_manager_create(
  ffi.Pointer<EtebaseCollectionManager> this_,
  ffi.Pointer<ffi.Char> collection_type,
  ffi.Pointer<EtebaseItemMetadata> meta,
  ffi.Pointer<ffi.Void> content,
  int content_size,
) {
  return _etebase_collection_manager_create(
    this_,
    collection_type,
    meta,
    content,
    content_size,
  );
}