00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00059 #ifndef BWIPP_H
00060 #define BWIPP_H
00061
00064 typedef struct BWIPP BWIPP;
00065
00070 BWIPP* bwipp_load(void);
00071
00076 BWIPP* bwipp_load_from_file(const char *filename);
00077
00082 void bwipp_unload(BWIPP *ctx);
00083
00088 const char* bwipp_get_version(BWIPP *ctx);
00089
00097 char* bwipp_emit_required_resources(BWIPP *ctx, const char *name);
00098
00104 char* bwipp_emit_all_resources(BWIPP *ctx);
00105
00115 char* bwipp_emit_exec(BWIPP *ctx, const char *barcode, const char *contents,
00116 const char *options);
00117
00124 unsigned short bwipp_list_families(BWIPP *ctx, char ***families);
00125
00131 char* bwipp_list_families_as_string(BWIPP *ctx);
00132
00140 unsigned short bwipp_list_family_members(BWIPP *ctx, char ***members,
00141 const char *family);
00142
00150 char* bwipp_list_family_members_as_string(BWIPP *ctx, const char *family);
00151
00159 unsigned short bwipp_list_properties(BWIPP *ctx, char ***properties,
00160 const char *barcode);
00161
00169 char* bwipp_list_properties_as_string(BWIPP *ctx, const char *barcode);
00170
00177 const char* bwipp_get_property(BWIPP *ctx, const char *barcode,
00178 const char *property);
00179
00183 void bwipp_free(void *p);
00184
00185 #endif
00186