flickcurl.h   flickcurl.h 
skipping to change at line 138 skipping to change at line 138
* @PHOTO_FIELD_owner_location: owner location * @PHOTO_FIELD_owner_location: owner location
* @PHOTO_FIELD_owner_nsid: owner NSID * @PHOTO_FIELD_owner_nsid: owner NSID
* @PHOTO_FIELD_owner_realname: owner real name * @PHOTO_FIELD_owner_realname: owner real name
* @PHOTO_FIELD_owner_username: owner user name * @PHOTO_FIELD_owner_username: owner user name
* @PHOTO_FIELD_title: title * @PHOTO_FIELD_title: title
* @PHOTO_FIELD_visibility_isfamily: visibility is for family * @PHOTO_FIELD_visibility_isfamily: visibility is for family
* @PHOTO_FIELD_visibility_isfriend: visibility is for friend * @PHOTO_FIELD_visibility_isfriend: visibility is for friend
* @PHOTO_FIELD_visibility_ispublic: visibility is for public * @PHOTO_FIELD_visibility_ispublic: visibility is for public
* @PHOTO_FIELD_secret: photo secret * @PHOTO_FIELD_secret: photo secret
* @PHOTO_FIELD_originalsecret: photo original secret * @PHOTO_FIELD_originalsecret: photo original secret
* @PHOTO_FIELD_location_neighborhood: location neighborhood * @PHOTO_FIELD_location_neighbourhood: location neighbourhood
* @PHOTO_FIELD_location_neighborhood: deprecated
* @PHOTO_FIELD_location_locality: location locality * @PHOTO_FIELD_location_locality: location locality
* @PHOTO_FIELD_location_county: location county * @PHOTO_FIELD_location_county: location county
* @PHOTO_FIELD_location_region: location region * @PHOTO_FIELD_location_region: location region
* @PHOTO_FIELD_location_country: location country * @PHOTO_FIELD_location_country: location country
* @PHOTO_FIELD_location_placeid: location place ID * @PHOTO_FIELD_location_placeid: location place ID
* @PHOTO_FIELD_neighborhood_placeid: neighborhood place ID * @PHOTO_FIELD_neighbourhood_placeid: neighborhood place ID
* @PHOTO_FIELD_neighborhood_placeid: dprecated
* @PHOTO_FIELD_locality_placeid: locality place ID * @PHOTO_FIELD_locality_placeid: locality place ID
* @PHOTO_FIELD_county_placeid: county place ID * @PHOTO_FIELD_county_placeid: county place ID
* @PHOTO_FIELD_region_placeid: region place ID * @PHOTO_FIELD_region_placeid: region place ID
* @PHOTO_FIELD_country_placeid: country place ID * @PHOTO_FIELD_country_placeid: country place ID
* @PHOTO_FIELD_location_woeid: location WOE ID * @PHOTO_FIELD_location_woeid: location WOE ID
* @PHOTO_FIELD_neighborhood_woeid: neighborhood WOE ID * @PHOTO_FIELD_neighbourhood_woeid: neighborhood WOE ID
* @PHOTO_FIELD_neighborhood_woeid: deprecated
* @PHOTO_FIELD_locality_woeid: locality WOE ID * @PHOTO_FIELD_locality_woeid: locality WOE ID
* @PHOTO_FIELD_county_woeid: county WOE ID * @PHOTO_FIELD_county_woeid: county WOE ID
* @PHOTO_FIELD_region_woeid: region WOE ID * @PHOTO_FIELD_region_woeid: region WOE ID
* @PHOTO_FIELD_country_woeid: country WOE ID * @PHOTO_FIELD_country_woeid: country WOE ID
* @PHOTO_FIELD_usage_candownload: can download * @PHOTO_FIELD_usage_candownload: can download
* @PHOTO_FIELD_usage_canblog: can blog * @PHOTO_FIELD_usage_canblog: can blog
* @PHOTO_FIELD_usage_canprint: can print * @PHOTO_FIELD_usage_canprint: can print
* @PHOTO_FIELD_none: internal * @PHOTO_FIELD_none: internal
* @PHOTO_FIELD_FIRST: internal offset to first in enum list * @PHOTO_FIELD_FIRST: internal offset to first in enum list
* @PHOTO_FIELD_LAST: internal offset to last in enum list * @PHOTO_FIELD_LAST: internal offset to last in enum list
skipping to change at line 197 skipping to change at line 200
PHOTO_FIELD_owner_location, PHOTO_FIELD_owner_location,
PHOTO_FIELD_owner_nsid, PHOTO_FIELD_owner_nsid,
PHOTO_FIELD_owner_realname, PHOTO_FIELD_owner_realname,
PHOTO_FIELD_owner_username, PHOTO_FIELD_owner_username,
PHOTO_FIELD_title, PHOTO_FIELD_title,
PHOTO_FIELD_visibility_isfamily, PHOTO_FIELD_visibility_isfamily,
PHOTO_FIELD_visibility_isfriend, PHOTO_FIELD_visibility_isfriend,
PHOTO_FIELD_visibility_ispublic, PHOTO_FIELD_visibility_ispublic,
PHOTO_FIELD_secret, PHOTO_FIELD_secret,
PHOTO_FIELD_originalsecret, PHOTO_FIELD_originalsecret,
PHOTO_FIELD_location_neighborhood, PHOTO_FIELD_location_neighbourhood,
PHOTO_FIELD_location_neighborhood = PHOTO_FIELD_location_neighbourhood,
PHOTO_FIELD_location_locality, PHOTO_FIELD_location_locality,
PHOTO_FIELD_location_county, PHOTO_FIELD_location_county,
PHOTO_FIELD_location_region, PHOTO_FIELD_location_region,
PHOTO_FIELD_location_country, PHOTO_FIELD_location_country,
PHOTO_FIELD_location_placeid, PHOTO_FIELD_location_placeid,
PHOTO_FIELD_neighborhood_placeid, PHOTO_FIELD_neighbourhood_placeid,
PHOTO_FIELD_neighborhood_placeid = PHOTO_FIELD_neighbourhood_placeid,
PHOTO_FIELD_locality_placeid, PHOTO_FIELD_locality_placeid,
PHOTO_FIELD_county_placeid, PHOTO_FIELD_county_placeid,
PHOTO_FIELD_region_placeid, PHOTO_FIELD_region_placeid,
PHOTO_FIELD_country_placeid, PHOTO_FIELD_country_placeid,
PHOTO_FIELD_location_woeid, PHOTO_FIELD_location_woeid,
PHOTO_FIELD_neighborhood_woeid, PHOTO_FIELD_neighbourhood_woeid,
PHOTO_FIELD_neighborhood_woeid = PHOTO_FIELD_neighbourhood_woeid,
PHOTO_FIELD_locality_woeid, PHOTO_FIELD_locality_woeid,
PHOTO_FIELD_county_woeid, PHOTO_FIELD_county_woeid,
PHOTO_FIELD_region_woeid, PHOTO_FIELD_region_woeid,
PHOTO_FIELD_country_woeid, PHOTO_FIELD_country_woeid,
PHOTO_FIELD_usage_candownload, PHOTO_FIELD_usage_candownload,
PHOTO_FIELD_usage_canblog, PHOTO_FIELD_usage_canblog,
PHOTO_FIELD_usage_canprint, PHOTO_FIELD_usage_canprint,
PHOTO_FIELD_FIRST = PHOTO_FIELD_dateuploaded, PHOTO_FIELD_FIRST = PHOTO_FIELD_dateuploaded,
PHOTO_FIELD_LAST = PHOTO_FIELD_usage_canprint PHOTO_FIELD_LAST = PHOTO_FIELD_usage_canprint
} flickcurl_photo_field_type; } flickcurl_photo_field_type;
skipping to change at line 384 skipping to change at line 390
* flickcurl_perms: * flickcurl_perms:
* @is_public: non-0 to set the photo to public else private * @is_public: non-0 to set the photo to public else private
* @is_contact: non-0 to make the photo visible to contacts when private * @is_contact: non-0 to make the photo visible to contacts when private
* @is_friend: non-0 to make the photo visible to friends when private * @is_friend: non-0 to make the photo visible to friends when private
* @is_family: non-0 to make the photo visible to family when private * @is_family: non-0 to make the photo visible to family when private
* @perm_comment: who can add comments to the photo and it's notes. one of: 0 nobody, 1 friends & family, 2 contacts, 3 everybody * @perm_comment: who can add comments to the photo and it's notes. one of: 0 nobody, 1 friends & family, 2 contacts, 3 everybody
* @perm_addmeta: who can add notes and tags to the photo. one of: 0 nobody / just the owner, 1 friends & family, 2 contacts, 3 everybody * @perm_addmeta: who can add notes and tags to the photo. one of: 0 nobody / just the owner, 1 friends & family, 2 contacts, 3 everybody
* *
* Permissions as used by flickcurl_photos_getPerms() and * Permissions as used by flickcurl_photos_getPerms() and
* flickcurl_photos_setPerms() which use public, friend, family, * flickcurl_photos_setPerms() which use public, friend, family,
* perm_comment and perm-addmeta. flickr.photos.geo.setPerms() uses * perm_comment and perm-addmeta. flickcurl_photos_geo_setPerms() uses
* public, contact, friend and family. * public, contact, friend and family.
* *
* A Photo permission. * A Photo permission.
*/ */
typedef struct { typedef struct {
int is_public; int is_public;
int is_contact; int is_contact;
int is_friend; int is_friend;
int is_family; int is_family;
int perm_comment; int perm_comment;
int perm_addmeta; int perm_addmeta;
} flickcurl_perms; } flickcurl_perms;
/** /**
* flickcurl_location: * flickcurl_location:
* @latitude: The latitude from -90 to 90 * @latitude: The latitude from -90 to 90
* @longitude: The longitude from -180 to 180 * @longitude: The longitude from -180 to 180
* @accuracy: Recorded accuracy level of the location. * @accuracy: Recorded accuracy level of the location.
* World level is 1, Country is ~3, Region ~6, City ~11, Street * World level is 1, Country is ~3, Region ~6, City ~11, Street
* ~16. Current range is 1-16. Defaults to 16 if not specified. (<0 for n one) * ~16. Current range is 1-16. (<0 for unknown accuracy)
* *
* A Photo Location. * A Location in the world with an optional accuracy
*/ */
typedef struct { typedef struct {
double latitude; double latitude;
double longitude; double longitude;
int accuracy; int accuracy;
} flickcurl_location; } flickcurl_location;
/** /**
* flickcurl_place_type: * flickcurl_place_type:
* @FLICKCURL_PLACE_LOCATION: a general location * @FLICKCURL_PLACE_LOCATION: a general location
* @FLICKCURL_PLACE_NEIGHBORHOOD: neighborhood (narrowest place) * @FLICKCURL_PLACE_NEIGHBOURHOOD: neighborhood (narrowest place)
* @FLICKCURL_PLACE_NEIGHBORHOOD: deprecated
* @FLICKCURL_PLACE_LOCALITY: locality * @FLICKCURL_PLACE_LOCALITY: locality
* @FLICKCURL_PLACE_COUNTY: county * @FLICKCURL_PLACE_COUNTY: county
* @FLICKCURL_PLACE_REGION: region * @FLICKCURL_PLACE_REGION: region
* @FLICKCURL_PLACE_COUNTRY: country (widest place) * @FLICKCURL_PLACE_COUNTRY: country (widest place)
* @FLICKCURL_PLACE_LAST: internal offset to last in enum list * @FLICKCURL_PLACE_LAST: internal offset to last in enum list
* *
* Place type * Place type
*/ */
typedef enum { typedef enum {
FLICKCURL_PLACE_LOCATION, FLICKCURL_PLACE_LOCATION,
FLICKCURL_PLACE_NEIGHBORHOOD, FLICKCURL_PLACE_NEIGHBOURHOOD,
FLICKCURL_PLACE_NEIGHBORHOOD = FLICKCURL_PLACE_NEIGHBOURHOOD,
FLICKCURL_PLACE_LOCALITY, FLICKCURL_PLACE_LOCALITY,
FLICKCURL_PLACE_COUNTY, FLICKCURL_PLACE_COUNTY,
FLICKCURL_PLACE_REGION, FLICKCURL_PLACE_REGION,
FLICKCURL_PLACE_COUNTRY, FLICKCURL_PLACE_COUNTRY,
FLICKCURL_PLACE_LAST = FLICKCURL_PLACE_COUNTRY FLICKCURL_PLACE_LAST = FLICKCURL_PLACE_COUNTRY
} flickcurl_place_type; } flickcurl_place_type;
/** /**
* flickcurl_place: * flickcurl_place:
* @names: Array of place names * @names: Array of place names
* @ids: Array of place IDs * @ids: Array of place IDs
* @urls: Array of place urls. * @urls: Array of place urls.
* @type: Location type of index 0 (the location) usually * @type: Location type of index 0 (the location) usually
* FLICKCURL_PLACE_LOCATION but may be wider * FLICKCURL_PLACE_LOCATION but may be wider
* @woe_ids: Array of WOE IDs * @woe_ids: Array of WOE IDs
* @location: location for this place
* @count: count of photos (when used for flickcurl_places_forUser() )
* *
* A Place. * A Place.
* *
* Index 0 in the array is the location itself. flickcurl_get_place_type_la bel() * Index 0 in the array is the location itself. flickcurl_get_place_type_la bel()
* can give labels for the array indexes of type #flickcurl_place_type. * can give labels for the array indexes of type #flickcurl_place_type.
* *
*/ */
typedef struct { typedef struct {
char* names[FLICKCURL_PLACE_LAST+1]; char* names[FLICKCURL_PLACE_LAST+1];
char* ids[FLICKCURL_PLACE_LAST+1]; char* ids[FLICKCURL_PLACE_LAST+1];
char* urls[FLICKCURL_PLACE_LAST+1]; char* urls[FLICKCURL_PLACE_LAST+1];
flickcurl_place_type type; flickcurl_place_type type;
char* woe_ids[FLICKCURL_PLACE_LAST+1]; char* woe_ids[FLICKCURL_PLACE_LAST+1];
flickcurl_location location;
int count;
} flickcurl_place; } flickcurl_place;
/** /**
* flickcurl_tag: * flickcurl_tag:
* @photo: Associated photo object if any * @photo: Associated photo object if any
* @id: tag identifier * @id: tag identifier
* @author: author (may be NULL) * @author: author (may be NULL)
* @authorname: author real name (may be NULL) * @authorname: author real name (may be NULL)
* @raw: raw tag as user typed it (may be NULL, but if so @cooked must be n ot NULL) * @raw: raw tag as user typed it (may be NULL, but if so @cooked must be n ot NULL)
* @cooked: cooked tag (may be NULL, but if so @raw must not be NULL) * @cooked: cooked tag (may be NULL, but if so @raw must not be NULL)
skipping to change at line 828 skipping to change at line 840
* *
* A user. * A user.
*/ */
typedef struct { typedef struct {
char *nsid; char *nsid;
flickcurl_person_field fields[PERSON_FIELD_LAST + 1]; flickcurl_person_field fields[PERSON_FIELD_LAST + 1];
} flickcurl_person; } flickcurl_person;
/** /**
* flickcurl_photos_list:
* @format: requested content format or NULL if a list of photos was wanted
. On the result from API calls this is set to the requested feed format or
"xml" if none was given.
* @photos: list of photos if @format is NULL. Also may be NULL on failure
.
* @photos_count: number of photos in @photos array if @format is NULL. Und
efined on failure
* @content: raw content if @format is not NULL. Also may be NULL on failu
re.
* @content_length: size of @content if @format is not NULL. Undefined on f
ailure
*
* Photos List result.
*/
typedef struct {
char *format;
flickcurl_photo** photos;
int photos_count;
char* content;
size_t content_length;
} flickcurl_photos_list;
/**
* flickcurl_photos_list_params:
* @version: structure version (currently 1)
* @extras: A comma-delimited list of extra information to fetch for each r
eturned record. Currently supported fields are: <code>license</code>, <code
>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <cod
e>icon_server</code>, <code>original_format</code>, <code>last_update</code
>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>. <code>'m
edia</code> will return an extra media=VALUE for VALUE "photo" or "video".
API addition 2008-04-07. (or NULL)
* @per_page: Number of photos to return per page. If this argument is omit
ted, it defaults to 100. The maximum allowed value is 500. (or < 0)
* @page: The page of results to return. If this argument is omitted, it de
faults to 1. (or < 0)
* @format: Feed format. If given, the photos list result will return raw
content. This paramter is EXPERIMENTAL as annouced 2008-08-25 http://code.
flickr.com/blog/2008/08/25/api-responses-as-feeds/ The current formats are
<code>feed-rss_100</code> for RSS 1.0, <code>feed-rss_200</code> for RSS
2.0, <code>feed-atom_10</code> for Atom 1.0, <code>feed-georss</code> for R
SS 2.0 with GeoRSS and W3C Geo for geotagged photos, <code>feed-geoatom</co
de> for Atom 1.0 with GeoRSS and W3C Geo for geotagged photos, <code>feed-g
eordf</code> for RSS 1.0 with GeoRSS and W3C Geo for geotagged photos, <cod
e>feed-kml</code> for KML 2.1, <code>feed-kml_nl</code> for KML 2.1 network
link (or NULL)
*
* Photos List API parameters for multiple functions that return
* a #flickcurl_photos_list
*
* Use flickcurl_get_extras_format_info() to enumerate the list of
* known extra values and flickcurl_get_feed_format_info() to
* enumerate the list of known format values.
*/
typedef struct {
/* NOTE: Bump @version and update
* flickcurl_photos_list_params_init() when adding fields
*/
int version; /* 1 */
const char* format;
const char* extras;
int per_page;
int page;
} flickcurl_photos_list_params;
/**
* 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: 1=safe, 2=moderate, 3=restricted
* @content_type: 1=photo, 2=screenshot, 3=other/artwork * @content_type: 1=photo, 2=screenshot, 3=other/artwork
skipping to change at line 1179 skipping to change at line 1235
/* other flickcurl class destructors */ /* other flickcurl class destructors */
FLICKCURL_API FLICKCURL_API
void flickcurl_free_tag(flickcurl_tag *t); void flickcurl_free_tag(flickcurl_tag *t);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_tag_clusters(flickcurl_tag_clusters *tcs); void flickcurl_free_tag_clusters(flickcurl_tag_clusters *tcs);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_photo(flickcurl_photo *photo); void flickcurl_free_photo(flickcurl_photo *photo);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_photos(flickcurl_photo** photos); void flickcurl_free_photos(flickcurl_photo** photos);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_photos_list(flickcurl_photos_list* photos_list);
FLICKCURL_API
void flickcurl_free_photoset(flickcurl_photoset *photoset); void flickcurl_free_photoset(flickcurl_photoset *photoset);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_photosets(flickcurl_photoset **photosets_object); void flickcurl_free_photosets(flickcurl_photoset **photosets_object);
/* void flickcurl_free_license(flickcurl_person *license); */ /* void flickcurl_free_license(flickcurl_person *license); */
FLICKCURL_API FLICKCURL_API
void flickcurl_free_person(flickcurl_person *person); void flickcurl_free_person(flickcurl_person *person);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_persons(flickcurl_person** persons); void flickcurl_free_persons(flickcurl_person** persons);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_context(flickcurl_context *context); void flickcurl_free_context(flickcurl_context *context);
skipping to change at line 1234 skipping to change at line 1292
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);
FLICKCURL_API FLICKCURL_API
const char* flickcurl_get_content_type_label(int content_type); const char* flickcurl_get_content_type_label(int content_type);
FLICKCURL_API FLICKCURL_API
int flickcurl_get_content_type_from_string(const char* content_type_string) ; int flickcurl_get_content_type_from_string(const char* content_type_string) ;
FLICKCURL_API FLICKCURL_API
const char* flickcurl_get_safety_level_label(int safety_level); const char* flickcurl_get_safety_level_label(int safety_level);
FLICKCURL_API FLICKCURL_API
int flickcurl_get_safety_level_from_string(const char* safety_level_string) ; int flickcurl_get_safety_level_from_string(const char* safety_level_string) ;
FLICKCURL_API
int flickcurl_get_feed_format_info(int feed_format, const char** name_p, co
nst char** label_p, const char** mime_type_p);
FLICKCURL_API
int flickcurl_get_extras_format_info(int extras_format, const char** name_p
, const char** label_p);
FLICKCURL_API
int flickcurl_photos_list_params_init(flickcurl_photos_list_params* list_pa
rams);
FLICKCURL_API
int flickcurl_search_params_init(flickcurl_search_params* params);
/** /**
* set_config_var_handler: * set_config_var_handler:
* @userdata: user data pointer * @userdata: user data pointer
* @key: key * @key: key
* @value: value * @value: value
* *
* Handler to get variables returned from an 'INI' style configuration file * Handler to get variables returned from an 'INI' style configuration file
*/ */
typedef void (*set_config_var_handler)(void* userdata, const char* key, con st char* value); typedef void (*set_config_var_handler)(void* userdata, const char* key, con st char* value);
skipping to change at line 1281 skipping to change at line 1347
int flickcurl_blogs_postPhoto(flickcurl* fc, const char* blog_id, const cha r* photo_id, const char* title, const char* description, const char* blog_p assword); int flickcurl_blogs_postPhoto(flickcurl* fc, const char* blog_id, const cha r* photo_id, const char* title, const char* description, const char* blog_p assword);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_blogs(flickcurl_blog **blogs_object); void flickcurl_free_blogs(flickcurl_blog **blogs_object);
/* flickr.favorites */ /* flickr.favorites */
FLICKCURL_API FLICKCURL_API
int flickcurl_favorites_add(flickcurl* fc, const char* photo_id); int flickcurl_favorites_add(flickcurl* fc, const char* photo_id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_favorites_getList(flickcurl* fc, const char* us er_id, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_favorites_getList(flickcurl* fc, const char* us er_id, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_favorites_getList_params(flickcurl* fc, co
nst char* user_id, flickcurl_photos_list_params* list_params);
FLICKCURL_API
flickcurl_photo** flickcurl_favorites_getPublicList(flickcurl* fc, const ch ar* user_id, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_favorites_getPublicList(flickcurl* fc, const ch ar* user_id, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_favorites_getPublicList_params(flickcurl*
fc, const char* user_id, flickcurl_photos_list_params* list_params);
FLICKCURL_API
int flickcurl_favorites_remove(flickcurl* fc, const char* photo_id); int flickcurl_favorites_remove(flickcurl* fc, const char* photo_id);
/* 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
skipping to change at line 1307 skipping to change at line 1377
/* flickr.groups.pools */ /* flickr.groups.pools */
FLICKCURL_API FLICKCURL_API
int flickcurl_groups_pools_add(flickcurl* fc, const char* photo_id, const c har* group_id); int flickcurl_groups_pools_add(flickcurl* fc, const char* photo_id, const c har* group_id);
FLICKCURL_API FLICKCURL_API
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);
FLICKCURL_API FLICKCURL_API
flickcurl_group** flickcurl_groups_pools_getGroups(flickcurl* fc, int page, int per_page); flickcurl_group** flickcurl_groups_pools_getGroups(flickcurl* fc, int page, int per_page);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_groups_pools_getPhotos(flickcurl* fc, const cha r* group_id, const char* tags, const char* user_id, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_groups_pools_getPhotos(flickcurl* fc, const cha r* group_id, const char* tags, const char* user_id, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_groups_pools_getPhotos_params(flickcurl* f
c, const char* group_id, const char* tags, const char* user_id, flickcurl_p
hotos_list_params* list_params);
FLICKCURL_API
int flickcurl_groups_pools_remove(flickcurl* fc, const char* photo_id, cons t char* group_id); int flickcurl_groups_pools_remove(flickcurl* fc, const char* photo_id, cons t char* group_id);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_group(flickcurl_group *group); void flickcurl_free_group(flickcurl_group *group);
FLICKCURL_API FLICKCURL_API
void flickcurl_free_groups(flickcurl_group **groups_object); void flickcurl_free_groups(flickcurl_group **groups_object);
/* flickr.interestingness */ /* flickr.interestingness */
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_interestingness_getList(flickcurl* fc, const ch ar* date, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_interestingness_getList(flickcurl* fc, const ch ar* date, const char* extras, int per_page, int page);
FLICKCURL_API
flickcurl_photos_list* flickcurl_interestingness_getList_params(flickcurl*
fc, const char* date, flickcurl_photos_list_params* list_params);
/* flickr.photo.getSizes */ /* flickr.photo.getSizes */
FLICKCURL_API FLICKCURL_API
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_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_group** flickcurl_people_getPublicGroups(flickcurl* fc, const cha r* user_id); flickcurl_group** flickcurl_people_getPublicGroups(flickcurl* fc, const cha r* user_id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_people_getPublicPhotos(flickcurl* fc, const cha r* user_id, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_people_getPublicPhotos(flickcurl* fc, const cha r* user_id, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_people_getPublicPhotos_params(flickcurl* f
c, const char* user_id, flickcurl_photos_list_params* list_params);
FLICKCURL_API
flickcurl_user_upload_status* flickcurl_people_getUploadStatus(flickcurl* f c); flickcurl_user_upload_status* flickcurl_people_getUploadStatus(flickcurl* f c);
/* flickr.photos */ /* flickr.photos */
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_addTags(flickcurl* fc, const char* photo_id, const cha r* tags); int flickcurl_photos_addTags(flickcurl* fc, const char* photo_id, const cha r* tags);
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_delete(flickcurl* fc, const char* photo_id); int flickcurl_photos_delete(flickcurl* fc, const char* photo_id);
FLICKCURL_API FLICKCURL_API
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_API FLICKCURL_API
flickcurl_photo** flickcurl_photos_getContactsPhotos(flickcurl* fc, int con tact_count, int just_friends, int single_photo, int include_self, const cha r* extras); flickcurl_photo** flickcurl_photos_getContactsPhotos(flickcurl* fc, int con tact_count, int just_friends, int single_photo, int include_self, const cha r* extras);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getContactsPhotos_params(flickcurl*
fc, int contact_count, int just_friends, int single_photo, int include_sel
f, flickcurl_photos_list_params* list_params);
FLICKCURL_API
flickcurl_photo** flickcurl_photos_getContactsPublicPhotos(flickcurl* fc, c onst char* user_id, int photo_count, int just_friends, int single_photo, i nt include_self, const char* extras); flickcurl_photo** flickcurl_photos_getContactsPublicPhotos(flickcurl* fc, c onst char* user_id, int photo_count, int just_friends, int single_photo, i nt include_self, const char* extras);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getContactsPublicPhotos_params(flic
kcurl* fc, const char* user_id, int photo_count, int just_friends, int sin
gle_photo, int include_self, flickcurl_photos_list_params* list_params);
FLICKCURL_API
flickcurl_context** flickcurl_photos_getContext(flickcurl* fc, const char* photo_id); flickcurl_context** flickcurl_photos_getContext(flickcurl* fc, const char* photo_id);
FLICKCURL_API FLICKCURL_API
int** flickcurl_photos_getCounts(flickcurl* fc, const char** dates_array, c onst char** taken_dates_array); int** flickcurl_photos_getCounts(flickcurl* fc, const char** dates_array, c onst char** taken_dates_array);
FLICKCURL_API FLICKCURL_API
flickcurl_exif** flickcurl_photos_getExif(flickcurl* fc, const char* photo_ id, const char* secret); flickcurl_exif** flickcurl_photos_getExif(flickcurl* fc, const char* photo_ id, const char* secret);
FLICKCURL_API FLICKCURL_API
flickcurl_person** flickcurl_photos_getFavorites(flickcurl* fc, const char* photo_id, int page, int per_page); flickcurl_person** flickcurl_photos_getFavorites(flickcurl* fc, const char* photo_id, int page, int per_page);
FLICKCURL_API FLICKCURL_API
flickcurl_photo* flickcurl_photos_getInfo(flickcurl *fc, const char* photo_ id); flickcurl_photo* flickcurl_photos_getInfo(flickcurl *fc, const char* photo_ id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_photos_getNotInSet(flickcurl* fc, int min_uploa d_date, int max_upload_date, const char* min_taken_date, const char* max_ta ken_date, int privacy_filter, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_photos_getNotInSet(flickcurl* fc, int min_uploa d_date, int max_upload_date, const char* min_taken_date, const char* max_ta ken_date, int privacy_filter, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getNotInSet_params(flickcurl* fc, i
nt min_upload_date, int max_upload_date, const char* min_taken_date, const
char* max_taken_date, int privacy_filter, flickcurl_photos_list_params* lis
t_params);
FLICKCURL_API
flickcurl_perms* flickcurl_photos_getPerms(flickcurl* fc, const char* photo _id); flickcurl_perms* flickcurl_photos_getPerms(flickcurl* fc, const char* photo _id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_photos_getRecent(flickcurl* fc, const char* ext ras, int per_page, int page); flickcurl_photo** flickcurl_photos_getRecent(flickcurl* fc, const char* ext ras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getRecent_params(flickcurl* fc, fli
ckcurl_photos_list_params* list_params);
FLICKCURL_API
flickcurl_size** flickcurl_photos_getSizes(flickcurl* fc, const char* photo _id); flickcurl_size** flickcurl_photos_getSizes(flickcurl* fc, const char* photo _id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_photos_getUntagged(flickcurl* fc, int min_uploa d_date, int max_upload_date, const char* min_taken_date, const char* max_ta ken_date, int privacy_filter, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_photos_getUntagged(flickcurl* fc, int min_uploa d_date, int max_upload_date, const char* min_taken_date, const char* max_ta ken_date, int privacy_filter, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getUntagged_params(flickcurl* fc, i
nt min_upload_date, int max_upload_date, const char* min_taken_date, const
char* max_taken_date, int privacy_filter, flickcurl_photos_list_params* lis
t_params);
FLICKCURL_API
flickcurl_photo** flickcurl_photos_getWithGeoData(flickcurl* fc, int min_up load_date, int max_upload_date, const char* min_taken_date, const char* max _taken_date, int privacy_filter, const char* extras, int per_page, int page ); flickcurl_photo** flickcurl_photos_getWithGeoData(flickcurl* fc, int min_up load_date, int max_upload_date, const char* min_taken_date, const char* max _taken_date, int privacy_filter, const char* extras, int per_page, int page );
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getWithGeoData_params(flickcurl* fc
, int min_upload_date, int max_upload_date, const char* min_taken_date, con
st char* max_taken_date, int privacy_filter, flickcurl_photos_list_params*
list_params);
FLICKCURL_API
flickcurl_photo** flickcurl_photos_getWithoutGeoData(flickcurl* fc, int min _upload_date, int max_upload_date, const char* min_taken_date, const char* max_taken_date, int privacy_filter, const char* extras, int per_page, int p age); flickcurl_photo** flickcurl_photos_getWithoutGeoData(flickcurl* fc, int min _upload_date, int max_upload_date, const char* min_taken_date, const char* max_taken_date, int privacy_filter, const char* extras, int per_page, int p age);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_getWithoutGeoData_params(flickcurl*
fc, int min_upload_date, int max_upload_date, const char* min_taken_date,
const char* max_taken_date, int privacy_filter, flickcurl_photos_list_param
s* list_params);
FLICKCURL_API
flickcurl_photo** flickcurl_photos_recentlyUpdated(flickcurl* fc, int min_d ate, const char* extras, int per_page, int page); flickcurl_photo** flickcurl_photos_recentlyUpdated(flickcurl* fc, int min_d ate, const char* extras, int per_page, int page);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_recentlyUpdated_params(flickcurl* f
c, int min_date, flickcurl_photos_list_params* list_params);
FLICKCURL_API
int flickcurl_photos_removeTag(flickcurl* fc, const char* tag_id); int flickcurl_photos_removeTag(flickcurl* fc, const char* tag_id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_photos_search(flickcurl* fc, flickcurl_search_p arams* params); flickcurl_photo** flickcurl_photos_search(flickcurl* fc, flickcurl_search_p arams* params);
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photos_search_params(flickcurl* fc, flickc
url_search_params* params, flickcurl_photos_list_params* list_params);
FLICKCURL_API
int flickcurl_photos_setContentType(flickcurl* fc, const char* photo_id, in t content_type); int flickcurl_photos_setContentType(flickcurl* fc, const char* photo_id, in t content_type);
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_setDates(flickcurl* fc, const char* photo_id, int date _posted, int date_taken, int date_taken_granularity); int flickcurl_photos_setDates(flickcurl* fc, const char* photo_id, int date _posted, int date_taken, int date_taken_granularity);
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_setMeta(flickcurl* fc, const char* photo_id, const cha r* title, const char* description); int flickcurl_photos_setMeta(flickcurl* fc, const char* photo_id, const cha r* title, const char* description);
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_setPerms(flickcurl* fc, const char* photo_id, flickcur l_perms* perms); int flickcurl_photos_setPerms(flickcurl* fc, const char* photo_id, flickcur l_perms* perms);
FLICKCURL_API FLICKCURL_API
int flickcurl_photos_setSafetyLevel(flickcurl* fc, const char* photo_id, in t safety_level, int hidden); int flickcurl_photos_setSafetyLevel(flickcurl* fc, const char* photo_id, in t safety_level, int hidden);
FLICKCURL_API FLICKCURL_API
skipping to change at line 1403 skipping to change at line 1497
flickcurl_place** flickcurl_places_find(flickcurl* fc, const char* query); flickcurl_place** flickcurl_places_find(flickcurl* fc, const char* query);
FLICKCURL_API FLICKCURL_API
flickcurl_place* flickcurl_places_findByLatLon(flickcurl* fc, double lat, d ouble lon, int accuracy); flickcurl_place* flickcurl_places_findByLatLon(flickcurl* fc, double lat, d ouble lon, int accuracy);
FLICKCURL_API FLICKCURL_API
flickcurl_place* flickcurl_places_resolvePlaceId(flickcurl* fc, const char* place_id); flickcurl_place* flickcurl_places_resolvePlaceId(flickcurl* fc, const char* place_id);
FLICKCURL_API FLICKCURL_API
flickcurl_place* flickcurl_places_resolvePlaceURL(flickcurl* fc, const char * url); flickcurl_place* flickcurl_places_resolvePlaceURL(flickcurl* fc, const char * url);
FLICKCURL_API FLICKCURL_API
const char* flickcurl_get_place_type_label(flickcurl_place_type place_type) ; const char* flickcurl_get_place_type_label(flickcurl_place_type place_type) ;
flickcurl_place_type flickcurl_get_place_type_by_label(const char* place_la bel); flickcurl_place_type flickcurl_get_place_type_by_label(const char* place_la bel);
FLICKCURL_API
flickcurl_place** flickcurl_places_forUser(flickcurl* fc, flickcurl_place_t
ype place_type, int woe_id, const char* place_id, int threshold);
/* flickr.contacts */ /* flickr.contacts */
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_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);
skipping to change at line 1487 skipping to change at line 1583
int flickcurl_photosets_editPhotos(flickcurl* fc, const char* photoset_id, const char* primary_photo_id, const char** photo_ids_array); int flickcurl_photosets_editPhotos(flickcurl* fc, const char* photoset_id, const char* primary_photo_id, const char** photo_ids_array);
FLICKCURL_API FLICKCURL_API
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);
FLICKCURL_API FLICKCURL_API
flickcurl_photoset* flickcurl_photosets_getInfo(flickcurl* fc, const char* photoset_id); flickcurl_photoset* flickcurl_photosets_getInfo(flickcurl* fc, const char* photoset_id);
FLICKCURL_API FLICKCURL_API
flickcurl_photoset** flickcurl_photosets_getList(flickcurl* fc, const char* user_id); flickcurl_photoset** flickcurl_photosets_getList(flickcurl* fc, const char* user_id);
FLICKCURL_API FLICKCURL_API
flickcurl_photo** flickcurl_photosets_getPhotos(flickcurl* fc, const char* photoset_id, const char* extras, int privacy_filter, int per_page, int page ); flickcurl_photo** flickcurl_photosets_getPhotos(flickcurl* fc, const char* photoset_id, const char* extras, int privacy_filter, int per_page, int page );
FLICKCURL_API FLICKCURL_API
flickcurl_photos_list* flickcurl_photosets_getPhotos_params(flickcurl* fc,
const char* photoset_id, int privacy_filter, flickcurl_photos_list_params*
list_params);
FLICKCURL_API
int flickcurl_photosets_orderSets(flickcurl* fc, const char** photoset_ids_ array); int flickcurl_photosets_orderSets(flickcurl* fc, const char** photoset_ids_ array);
FLICKCURL_API FLICKCURL_API
int flickcurl_photosets_removePhoto(flickcurl* fc, const char* photoset_id, const char* photo_id); int flickcurl_photosets_removePhoto(flickcurl* fc, const char* photoset_id, const char* photo_id);
/* flickr.photosets.comments */ /* flickr.photosets.comments */
FLICKCURL_API FLICKCURL_API
char* flickcurl_photosets_comments_addComment(flickcurl* fc, const char* ph otoset_id, const char* comment_text); char* flickcurl_photosets_comments_addComment(flickcurl* fc, const char* ph otoset_id, const char* comment_text);
FLICKCURL_API FLICKCURL_API
int flickcurl_photosets_comments_deleteComment(flickcurl* fc, const char* c omment_id); int flickcurl_photosets_comments_deleteComment(flickcurl* fc, const char* c omment_id);
FLICKCURL_API FLICKCURL_API
 End of changes. 32 change blocks. 
11 lines changed or deleted 163 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/