flickcurl.h   flickcurl.h 
/* -*- Mode: c; c-basic-offset: 2 -*- /* -*- Mode: c; c-basic-offset: 2 -*-
* *
* flickcurl.h - Flickcurl API * flickcurl.h - Flickcurl API
* *
* Copyright (C) 2007-2012, David Beckett http://www.dajobe.org/ * Copyright (C) 2007-2013, David Beckett http://www.dajobe.org/
* *
* This file is licensed under the following three licenses as alternatives : * This file is licensed under the following three licenses as alternatives :
* 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version * 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
* 2. GNU General Public License (GPL) V2 or any newer version * 2. GNU General Public License (GPL) V2 or any newer version
* 3. Apache License, V2.0 or any newer version * 3. Apache License, V2.0 or any newer version
* *
* You may not use this file except in compliance with at least one of * You may not use this file except in compliance with at least one of
* the above three licenses. * the above three licenses.
* *
* See LICENSE.html or LICENSE.txt at the top of this package for the * See LICENSE.html or LICENSE.txt at the top of this package for the
skipping to change at line 880 skipping to change at line 880
char* raw; char* raw;
char* clean; char* clean;
} flickcurl_exif; } flickcurl_exif;
/** /**
* flickcurl_group: * flickcurl_group:
* @nsid: NSID * @nsid: NSID
* @name: Group Name * @name: Group Name
* @description: Description * @description: Description
* @lang: Language * @lang: Language
* @is_admin: is admin flag * @is_admin: user is a group admin
* @is_pool_moderated: is the pool moderated * @is_pool_moderated: is the pool moderated
* @is_eighteenplus: 18+ group * @is_eighteenplus: NOT USED (will always be 0)
* @privacy: privacy level * @privacy: privacy level
* @photos: photos in group count * @photos: photos in group count
* @iconserver: icon server ID * @iconserver: icon server ID
* @members: member count * @members: member count
* @throttle_count: throttle count * @throttle_count: throttle count
* @throttle_mode: throttle mode (day, ...) * @throttle_mode: throttle mode (day, ...)
* @throttle_remaining: throttle remaining * @throttle_remaining: throttle remaining
* @iconfarm: icon farm ID
* @is_moderator: user is a moderator
* @is_member: user is a member
* @rules: group rules
* @pool_count: pool count
* @topic_count: topic count
* @photos_ok: photos are ok
* @videos_ok: videos are ok
* @images_ok: images are ok
* @screens_ok: screens are ok
* @art_ok: art is ok
* @safe_ok: safe content is ok
* @moderate_ok: moderate content is ok
* @restricted_ok: restricted content is ok
* @has_geo: has geolocation
* *
* A group. * A group.
*/ */
typedef struct { typedef struct {
char* nsid; char* nsid;
char* name; char* name;
char* description; char* description;
char* lang; char* lang;
int is_admin; int is_admin;
int is_pool_moderated; int is_pool_moderated;
int is_eighteenplus; int is_eighteenplus;
int privacy; int privacy;
int photos; int photos;
int iconserver; int iconserver;
int members; int members;
int throttle_count; int throttle_count;
char* throttle_mode; char* throttle_mode;
int throttle_remaining; int throttle_remaining;
int iconfarm;
int is_moderator;
int is_member;
char* rules;
int pool_count;
int topic_count;
int photos_ok;
int videos_ok;
int images_ok;
int screens_ok;
int art_ok;
int safe_ok;
int moderate_ok;
int restricted_ok;
int has_geo;
} flickcurl_group; } flickcurl_group;
/** /**
* flickcurl_blog: * flickcurl_blog:
* @id: ID * @id: ID
* @name: Group Name * @name: Group Name
* @needs_password: needs password * @needs_password: needs password
* @url: URL * @url: URL
* *
* A blog. * A blog.
skipping to change at line 1818 skipping to change at line 1848
FLICKCURL_API FLICKCURL_API
void flickcurl_set_oauth_client_secret(flickcurl *fc, const char* client_se cret); void flickcurl_set_oauth_client_secret(flickcurl *fc, const char* client_se cret);
FLICKCURL_API FLICKCURL_API
const char* flickcurl_get_oauth_request_token(flickcurl* fc); const char* flickcurl_get_oauth_request_token(flickcurl* fc);
FLICKCURL_API FLICKCURL_API
const char* flickcurl_get_oauth_request_token_secret(flickcurl* fc); const char* flickcurl_get_oauth_request_token_secret(flickcurl* fc);
FLICKCURL_API FLICKCURL_API
void flickcurl_set_oauth_request_token(flickcurl *fc, const char* token); void flickcurl_set_oauth_request_token(flickcurl *fc, const char* token);
FLICKCURL_API FLICKCURL_API
void flickcurl_set_oauth_request_token_secret(flickcurl *fc, const char* se cret); void flickcurl_set_oauth_request_token_secret(flickcurl *fc, const char* se cret);
FLICKCURL_API
const char* flickcurl_get_oauth_username(flickcurl* fc);
FLICKCURL_API
const char* flickcurl_get_oauth_user_nsid(flickcurl* fc);
/* OAuth flow requests */ /* OAuth flow requests */
FLICKCURL_API FLICKCURL_API
int flickcurl_oauth_create_request_token(flickcurl* fc, const char* callbac k); int flickcurl_oauth_create_request_token(flickcurl* fc, const char* callbac k);
FLICKCURL_API FLICKCURL_API
char* flickcurl_oauth_get_authorize_uri(flickcurl* fc); char* flickcurl_oauth_get_authorize_uri(flickcurl* fc);
FLICKCURL_API FLICKCURL_API
int flickcurl_oauth_create_access_token(flickcurl* fc, const char* verifier ); int flickcurl_oauth_create_access_token(flickcurl* fc, const char* verifier );
/* flickr.blogs */ /* flickr.blogs */
skipping to change at line 2006 skipping to change at line 2040
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_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_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_getInfo2(flickcurl *fc, const char* photo
_id, const char* secret);
FLICKCURL_API FLICKCURL_DEPRECATED
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_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_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
 End of changes. 7 change blocks. 
3 lines changed or deleted 40 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/