Flickcurl Flickr API Manual | ||||
---|---|---|---|---|
Top | Description |
int flickcurl_config_read_ini (flickcurl *fc
,const char *filename
,const char *section
,void *user_data
,set_config_var_handler handler
); void flickcurl_config_var_handler (void *userdata
,const char *key
,const char *value
); int flickcurl_config_write_ini (flickcurl *fc
,const char *filename
,const char *section
);
int flickcurl_config_read_ini (flickcurl *fc
,const char *filename
,const char *section
,void *user_data
,set_config_var_handler handler
);
Read flickcurl library configuration in .INI format from a filename
|
flickcurl config |
|
filename |
|
section name to use |
|
user data pointer for handler (usually the fc ) |
|
config variable handler function (usually flickcurl_config_var_handler() ) |
Returns : |
non-0 on failure |
void flickcurl_config_var_handler (void *userdata
,const char *key
,const char *value
);
Standard handler for flickcurl_config_read_ini()
|
user data pointing to flickcurl object |
|
var key |
|
var value |