flickcurl.h | flickcurl.h | |||
---|---|---|---|---|
skipping to change at line 178 | skipping to change at line 178 | |||
extern const char* const flickcurl_license_string; | extern const char* const flickcurl_license_string; | |||
extern const char* const flickcurl_home_url_string; | extern const char* const flickcurl_home_url_string; | |||
extern const char* const flickcurl_version_string; | extern const char* const flickcurl_version_string; | |||
/* constructor */ | /* constructor */ | |||
flickcurl* flickcurl_new(void); | flickcurl* flickcurl_new(void); | |||
/* destructor */ | /* destructor */ | |||
void flickcurl_free(flickcurl *fc); | void flickcurl_free(flickcurl *fc); | |||
/* library init/cleanup */ | ||||
void flickcurl_init(void); | ||||
void flickcurl_finish(void); | ||||
/* error handler */ | /* error handler */ | |||
void flickcurl_set_error_handler(flickcurl* fc, flickcurl_message_handler e rror_handler, void *error_data); | void flickcurl_set_error_handler(flickcurl* fc, flickcurl_message_handler e rror_handler, void *error_data); | |||
void flickcurl_set_tag_handler(flickcurl* fc, flickcurl_tag_handler tag_ha ndler, void *tag_data); | void flickcurl_set_tag_handler(flickcurl* fc, flickcurl_tag_handler tag_ha ndler, void *tag_data); | |||
/* set methods */ | /* set methods */ | |||
void flickcurl_set_user_agent(flickcurl* fc, const char *user_agent); | void flickcurl_set_user_agent(flickcurl* fc, const char *user_agent); | |||
void flickcurl_set_proxy(flickcurl* fc, const char *proxy); | void flickcurl_set_proxy(flickcurl* fc, const char *proxy); | |||
void flickcurl_set_http_accept(flickcurl* fc, const char *value); | void flickcurl_set_http_accept(flickcurl* fc, const char *value); | |||
void flickcurl_set_api_key(flickcurl* fc, const char *api_key); | void flickcurl_set_api_key(flickcurl* fc, const char *api_key); | |||
void flickcurl_set_shared_secret(flickcurl* fc, const char *secret); | void flickcurl_set_shared_secret(flickcurl* fc, const char *secret); | |||
void flickcurl_set_auth_token(flickcurl *fc, const char* auth_token); | void flickcurl_set_auth_token(flickcurl *fc, const char* auth_token); | |||
void flickcurl_set_sig_key(flickcurl *fc, const char* sig_key); | void flickcurl_set_sig_key(flickcurl *fc, const char* sig_key); | |||
void flickcurl_set_request_delay(flickcurl *fc, long delay_msec); | ||||
/* get methods */ | /* get methods */ | |||
const char* flickcurl_get_api_key(flickcurl *fc); | const char* flickcurl_get_api_key(flickcurl *fc); | |||
const char* flickcurl_get_shared_secret(flickcurl *fc); | const char* flickcurl_get_shared_secret(flickcurl *fc); | |||
const char* flickcurl_get_auth_token(flickcurl *fc); | const char* flickcurl_get_auth_token(flickcurl *fc); | |||
const char* flickcurl_get_photo_field_label(flickcurl_photo_field field); | const char* flickcurl_get_photo_field_label(flickcurl_photo_field field); | |||
const char* flickcurl_get_person_field_label(flickcurl_person_field field); | const char* flickcurl_get_person_field_label(flickcurl_person_field field); | |||
const char* flickcurl_get_field_value_type_label(flickcurl_field_value_type datatype); | const char* flickcurl_get_field_value_type_label(flickcurl_field_value_type datatype); | |||
const char* flickcurl_get_context_type_field_label(flickcurl_context_type t ype); | const char* flickcurl_get_context_type_field_label(flickcurl_context_type t ype); | |||
/* utility methods */ | /* utility methods */ | |||
char* flickcurl_photo_as_source_uri(flickcurl_photo *photo, const char c); | char* flickcurl_photo_as_source_uri(flickcurl_photo *photo, const char c); | |||
/* Flickr API calls */ | /* Flickr API calls */ | |||
char* flickcurl_auth_getFullToken(flickcurl* fc, const char* frob); | char* flickcurl_auth_getFullToken(flickcurl* fc, const char* frob); | |||
flickcurl_context** flickcurl_groups_pools_getContext(flickcurl* fc, const char* photo_id, const char* group_id); | flickcurl_context** flickcurl_groups_pools_getContext(flickcurl* fc, const char* photo_id, const char* group_id); | |||
char* flickcurl_people_findByEmail(flickcurl* fc, const char* email); | ||||
char* flickcurl_people_findByUsername(flickcurl* fc, const char* username); | ||||
flickcurl_person* flickcurl_people_getInfo(flickcurl* fc, const char* user_ id); | flickcurl_person* flickcurl_people_getInfo(flickcurl* fc, const char* user_ id); | |||
flickcurl_context** flickcurl_photos_getAllContexts(flickcurl* fc, const ch ar* photo_id); | flickcurl_context** flickcurl_photos_getAllContexts(flickcurl* fc, const ch ar* photo_id); | |||
flickcurl_context** flickcurl_photos_getContext(flickcurl* fc, const char* photo_id); | flickcurl_context** flickcurl_photos_getContext(flickcurl* fc, const char* photo_id); | |||
flickcurl_photo* flickcurl_photos_getInfo(flickcurl *fc, const char* photo_ id); | flickcurl_photo* flickcurl_photos_getInfo(flickcurl *fc, const char* photo_ id); | |||
flickcurl_license** flickcurl_photos_licenses_getInfo(flickcurl *fc); | flickcurl_license** flickcurl_photos_licenses_getInfo(flickcurl *fc); | |||
flickcurl_license* flickcurl_photos_licenses_getInfo_by_id(flickcurl *fc, i nt id); | flickcurl_license* flickcurl_photos_licenses_getInfo_by_id(flickcurl *fc, i nt id); | |||
flickcurl_context** flickcurl_photosets_getContext(flickcurl* fc, const cha r* photo_id, const char* photoset_id); | flickcurl_context** flickcurl_photosets_getContext(flickcurl* fc, const cha r* photo_id, const char* photoset_id); | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added | |||