BaulModule

BaulModule — Initialize an extension

Functions

Types and Values

Object Hierarchy

    GEnum
    ╰── BaulOperationResult

Includes

#include <libbaul-extension/baul-extension-types.h>

Description

Methods that each extension implements.

Functions

baul_operation_result_get_type ()

GType
baul_operation_result_get_type (void);

baul_module_initialize ()

void
baul_module_initialize (GTypeModule *module);

baul_module_shutdown ()

void
baul_module_shutdown (void);

baul_module_list_types ()

void
baul_module_list_types (const GType **types,
                        int *num_types);

baul_module_list_pyfiles ()

void
baul_module_list_pyfiles (GList **pyfiles);

Types and Values

BAUL_TYPE_OPERATION_RESULT

#define BAUL_TYPE_OPERATION_RESULT (baul_operation_result_get_type ())

BaulOperationHandle

typedef struct _BaulOperationHandle BaulOperationHandle;

Handle for asynchronous interfaces. These are opaque handles that must be unique within an extension object. These are returned by operations that return BAUL_OPERATION_IN_PROGRESS.


enum BaulOperationResult

Members

BAUL_OPERATION_COMPLETE

the operation succeeded, and the extension is done with the request.

 

BAUL_OPERATION_FAILED

the operation failed.

 

BAUL_OPERATION_IN_PROGRESS

the extension has begin an async operation. When this value is returned, the extension must set the handle parameter and call the callback closure when the operation is complete.