flickcurl.h | flickcurl.h | |||
---|---|---|---|---|
skipping to change at line 1222 | skipping to change at line 1222 | |||
/** | /** | |||
* flickcurl_upload_params: | * flickcurl_upload_params: | |||
* @photo_file: photo filename | * @photo_file: photo filename | |||
* @title: title or NULL | * @title: title or NULL | |||
* @description: description of photo (HTML) (or NULL) | * @description: description of photo (HTML) (or NULL) | |||
* @tags: space-separated list of tags (or NULL) | * @tags: space-separated list of tags (or NULL) | |||
* @is_public: is public photo boolean (non-0 true) | * @is_public: is public photo boolean (non-0 true) | |||
* @is_friend: is friend photo boolean (non-0 true) | * @is_friend: is friend photo boolean (non-0 true) | |||
* @is_family: is family photo boolean (non-0 true) | * @is_family: is family photo boolean (non-0 true) | |||
* @safety_level: 1=safe, 2=moderate, 3=restricted | * @safety_level: <=0 default, 1=safe, 2=moderate, 3=restricted | |||
* @content_type: 1=photo, 2=screenshot, 3=other/artwork | * @content_type: <=0 default, 1=photo, 2=screenshot, 3=other/artwork | |||
* @hidden: 1=in global search, 2=hidden from publish searches (Flickcurl 1 | * @hidden: <=0 default, 1=in global search, 2=hidden from publish searches | |||
.22+) | (Flickcurl 1.22+) | |||
* | * | |||
* Photo upload parameters | * Photo upload parameters | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
const char* photo_file; | const char* photo_file; | |||
const char *title; | const char *title; | |||
const char *description; | const char *description; | |||
const char *tags; | const char *tags; | |||
int is_public; | int is_public; | |||
int is_friend; | int is_friend; | |||
skipping to change at line 1934 | skipping to change at line 1934 | |||
/* flickr.groups */ | /* flickr.groups */ | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_category(flickcurl_category *category); | void flickcurl_free_category(flickcurl_category *category); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_categories(flickcurl_category **categories_object); | void flickcurl_free_categories(flickcurl_category **categories_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_category* flickcurl_groups_browse(flickcurl* fc, int cat_id); | flickcurl_category* flickcurl_groups_browse(flickcurl* fc, int cat_id); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_group* flickcurl_groups_getInfo(flickcurl* fc, const char* group_ id, const char* lang); | flickcurl_group* flickcurl_groups_getInfo(flickcurl* fc, const char* group_ id, const char* lang); | |||
FLICKCURL_API | FLICKCURL_API | |||
int flickcurl_groups_join(flickcurl* fc, const char* group_id, const char* | ||||
accept_rules); | ||||
FLICKCURL_API | ||||
int flickcurl_groups_joinRequest(flickcurl* fc, const char* group_id, const | ||||
char* message, const char* accept_rules); | ||||
FLICKCURL_API | ||||
int flickcurl_groups_leave(flickcurl* fc, const char* group_id, const char* | ||||
delete_photos); | ||||
FLICKCURL_API | ||||
flickcurl_group** flickcurl_groups_search(flickcurl* fc, const char* text, int per_page, int page); | flickcurl_group** flickcurl_groups_search(flickcurl* fc, const char* text, int per_page, int page); | |||
/* flickr.groups.members */ | /* flickr.groups.members */ | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_member(flickcurl_member *member_object); | void flickcurl_free_member(flickcurl_member *member_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_members(flickcurl_member **members_object); | void flickcurl_free_members(flickcurl_member **members_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_member** flickcurl_groups_members_getList(flickcurl* fc, const ch ar* group_id, const char* membertypes, int per_page, int page); | flickcurl_member** flickcurl_groups_members_getList(flickcurl* fc, const ch ar* group_id, const char* membertypes, int per_page, int page); | |||
skipping to change at line 1998 | skipping to change at line 2004 | |||
void flickcurl_free_size(flickcurl_size *size); | void flickcurl_free_size(flickcurl_size *size); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_sizes(flickcurl_size **sizes_object); | void flickcurl_free_sizes(flickcurl_size **sizes_object); | |||
/* flickr.people */ | /* flickr.people */ | |||
FLICKCURL_API | FLICKCURL_API | |||
char* flickcurl_people_findByEmail(flickcurl* fc, const char* email); | char* flickcurl_people_findByEmail(flickcurl* fc, const char* email); | |||
FLICKCURL_API | FLICKCURL_API | |||
char* flickcurl_people_findByUsername(flickcurl* fc, const char* username); | char* flickcurl_people_findByUsername(flickcurl* fc, const char* username); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_group** flickcurl_people_getGroups(flickcurl* fc, const char* use | ||||
r_id, const char* extras); | ||||
FLICKCURL_API | ||||
flickcurl_person* flickcurl_people_getInfo(flickcurl* fc, const char* user_ id); | flickcurl_person* flickcurl_people_getInfo(flickcurl* fc, const char* user_ id); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_photos_list* flickcurl_people_getPhotos_params(flickcurl* fc, con st char* user_id, int safe_search, const char* min_upload_date, const char* max_upload_date, const char* min_taken_date, const char* max_taken_date, i nt content_type, int privacy_filter, flickcurl_photos_list_params* list_par ams); | flickcurl_photos_list* flickcurl_people_getPhotos_params(flickcurl* fc, con st char* user_id, int safe_search, const char* min_upload_date, const char* max_upload_date, const char* min_taken_date, const char* max_taken_date, i nt content_type, int privacy_filter, flickcurl_photos_list_params* list_par ams); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_photo** flickcurl_people_getPhotos(flickcurl* fc, const char* use r_id, int safe_search, const char* min_upload_date, const char* max_upload_ date, const char* min_taken_date, const char* max_taken_date, int content_t ype, int privacy_filter, const char* extras, int per_page, int page); | flickcurl_photo** flickcurl_people_getPhotos(flickcurl* fc, const char* use r_id, int safe_search, const char* min_upload_date, const char* max_upload_ date, const char* min_taken_date, const char* max_taken_date, int content_t ype, int privacy_filter, const char* extras, int per_page, int page); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_photos_list* flickcurl_people_getPhotosOf_params(flickcurl* fc, c onst char* user_id, flickcurl_photos_list_params* list_params); | flickcurl_photos_list* flickcurl_people_getPhotosOf_params(flickcurl* fc, c onst char* user_id, flickcurl_photos_list_params* list_params); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_photo** flickcurl_people_getPhotosOf(flickcurl* fc, const char* u ser_id, const char* extras, int per_page, int page); | flickcurl_photo** flickcurl_people_getPhotosOf(flickcurl* fc, const char* u ser_id, const char* extras, int per_page, int page); | |||
FLICKCURL_API | FLICKCURL_API | |||
skipping to change at line 2156 | skipping to change at line 2164 | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_contact(flickcurl_contact *contact_object); | void flickcurl_free_contact(flickcurl_contact *contact_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_contacts(flickcurl_contact **contacts_object); | void flickcurl_free_contacts(flickcurl_contact **contacts_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_contact** flickcurl_contacts_getList(flickcurl* fc, const char* f ilter, int page, int per_page); | flickcurl_contact** flickcurl_contacts_getList(flickcurl* fc, const char* f ilter, int page, int per_page); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_contact** flickcurl_contacts_getListRecentlyUploaded(flickcurl* f c, int date_lastupload, const char* filter); | flickcurl_contact** flickcurl_contacts_getListRecentlyUploaded(flickcurl* f c, int date_lastupload, const char* filter); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_contact** flickcurl_contacts_getPublicList(flickcurl* fc, const c har* user_id, int page, int per_page); | flickcurl_contact** flickcurl_contacts_getPublicList(flickcurl* fc, const c har* user_id, int page, int per_page); | |||
FLICKCURL_API | ||||
flickcurl_contact** flickcurl_contacts_getTaggingSuggestions(flickcurl* fc, | ||||
const char* include_self, const char* include_address_book, int page, int | ||||
per_page); | ||||
/* flickr.photos.comments */ | /* flickr.photos.comments */ | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_comment(flickcurl_comment *comment_object); | void flickcurl_free_comment(flickcurl_comment *comment_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_comments(flickcurl_comment **comments_object); | void flickcurl_free_comments(flickcurl_comment **comments_object); | |||
FLICKCURL_API | FLICKCURL_API | |||
char* flickcurl_photos_comments_addComment(flickcurl* fc, const char* photo _id, const char* comment_text); | char* flickcurl_photos_comments_addComment(flickcurl* fc, const char* photo _id, const char* comment_text); | |||
FLICKCURL_API | FLICKCURL_API | |||
int flickcurl_photos_comments_deleteComment(flickcurl* fc, const char* comm ent_id); | int flickcurl_photos_comments_deleteComment(flickcurl* fc, const char* comm ent_id); | |||
skipping to change at line 2339 | skipping to change at line 2349 | |||
flickcurl_tag** flickcurl_tags_getHotList(flickcurl* fc, const char* period , int tag_count); | flickcurl_tag** flickcurl_tags_getHotList(flickcurl* fc, const char* period , int tag_count); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_tag** flickcurl_tags_getListPhoto(flickcurl* fc, const char* phot o_id); | flickcurl_tag** flickcurl_tags_getListPhoto(flickcurl* fc, const char* phot o_id); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_tag** flickcurl_tags_getListUser(flickcurl* fc, const char* user_ id); | flickcurl_tag** flickcurl_tags_getListUser(flickcurl* fc, const char* user_ id); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_tag** flickcurl_tags_getListUserPopular(flickcurl* fc, const char * user_id, int pop_count); | flickcurl_tag** flickcurl_tags_getListUserPopular(flickcurl* fc, const char * user_id, int pop_count); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_tag** flickcurl_tags_getListUserRaw(flickcurl* fc, const char* ta g); | flickcurl_tag** flickcurl_tags_getListUserRaw(flickcurl* fc, const char* ta g); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_tag** flickcurl_tags_getMostFrequentlyUsed(flickcurl* fc); | ||||
FLICKCURL_API | ||||
flickcurl_tag** flickcurl_tags_getRelated(flickcurl* fc, const char* tag); | flickcurl_tag** flickcurl_tags_getRelated(flickcurl* fc, const char* tag); | |||
/* flickr.test */ | /* flickr.test */ | |||
FLICKCURL_API | FLICKCURL_API | |||
int flickcurl_test_echo(flickcurl* fc, const char* key, const char* value); | int flickcurl_test_echo(flickcurl* fc, const char* key, const char* value); | |||
FLICKCURL_API | FLICKCURL_API | |||
char* flickcurl_test_login(flickcurl* fc); | char* flickcurl_test_login(flickcurl* fc); | |||
FLICKCURL_API | FLICKCURL_API | |||
int flickcurl_test_null(flickcurl* fc); | int flickcurl_test_null(flickcurl* fc); | |||
skipping to change at line 2372 | skipping to change at line 2384 | |||
/* Upload API */ | /* Upload API */ | |||
FLICKCURL_API | FLICKCURL_API | |||
FLICKCURL_DEPRECATED flickcurl_upload_status* flickcurl_photos_upload(flick curl* fc, const char* photo_file, const char *title, const char *descriptio n, const char *tags, int is_public, int is_friend, int is_family); | FLICKCURL_DEPRECATED flickcurl_upload_status* flickcurl_photos_upload(flick curl* fc, const char* photo_file, const char *title, const char *descriptio n, const char *tags, int is_public, int is_friend, int is_family); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_upload_status* flickcurl_photos_upload_params(flickcurl* fc, flic kcurl_upload_params* params); | flickcurl_upload_status* flickcurl_photos_upload_params(flickcurl* fc, flic kcurl_upload_params* params); | |||
FLICKCURL_API | FLICKCURL_API | |||
flickcurl_upload_status* flickcurl_photos_replace(flickcurl* fc, const char * photo_file, const char *photo_id, int async); | flickcurl_upload_status* flickcurl_photos_replace(flickcurl* fc, const char * photo_file, const char *photo_id, int async); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_free_upload_status(flickcurl_upload_status* status); | void flickcurl_free_upload_status(flickcurl_upload_status* status); | |||
FLICKCURL_API | FLICKCURL_API FLICKCURL_DEPRECATED | |||
FLICKCURL_DEPRECATED void flickcurl_upload_status_free(flickcurl_upload_sta | void flickcurl_upload_status_free(flickcurl_upload_status* status); | |||
tus* status); | ||||
FLICKCURL_API | FLICKCURL_API | |||
char* flickcurl_array_join(const char *array[], char delim); | char* flickcurl_array_join(const char *array[], char delim); | |||
FLICKCURL_API | FLICKCURL_API | |||
char** flickcurl_array_split(const char *str, char delim); | char** flickcurl_array_split(const char *str, char delim); | |||
FLICKCURL_API | FLICKCURL_API | |||
void flickcurl_array_free(char *array[]); | void flickcurl_array_free(char *array[]); | |||
/* ignore these */ | /* ignore these */ | |||
/** | /** | |||
End of changes. 6 change blocks. | ||||
7 lines changed or deleted | 24 lines changed or added | |||