| Flickcurl Flickr API Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void flickcurl_free_person (flickcurl_person *person); void flickcurl_free_persons (flickcurl_person **persons); const char* flickcurl_get_person_field_label (flickcurl_person_field_type field); flickcurl_person; flickcurl_person_field; enum flickcurl_person_field_type;
void flickcurl_free_person (flickcurl_person *person);
Destructor for person object
|
person object |
void flickcurl_free_persons (flickcurl_person **persons);
Destructor for array of person object
|
person object array |
const char* flickcurl_get_person_field_label (flickcurl_person_field_type field);
Get label for person field
|
field enum |
Returns : |
label string or NULL if none valid |
typedef struct {
char *nsid;
flickcurl_person_field fields[PERSON_FIELD_LAST + 1];
} flickcurl_person;
A user.
| user NSID | |
flickcurl_person_field |
person fields |
typedef struct {
char* string;
flickcurl_person_field_type integer;
flickcurl_field_value_type type;
} flickcurl_person_field;
Field of a person structure
| string field value | |
flickcurl_person_field_type |
integer field value |
| field type |
typedef enum {
PERSON_FIELD_none,
PERSON_FIELD_isadmin, /* boolean */
PERSON_FIELD_ispro, /* boolean */
PERSON_FIELD_iconserver, /* integer */
PERSON_FIELD_iconfarm, /* integer - not in API docs */
PERSON_FIELD_username, /* string */
PERSON_FIELD_realname, /* string */
PERSON_FIELD_mbox_sha1sum, /* string */
PERSON_FIELD_location, /* string */
PERSON_FIELD_photosurl, /* string */
PERSON_FIELD_profileurl, /* string */
PERSON_FIELD_mobileurl, /* string - not in API docs */
PERSON_FIELD_photos_firstdate, /* dateTime */
PERSON_FIELD_photos_firstdatetaken, /* dateTime */
PERSON_FIELD_photos_count, /* integer */
PERSON_FIELD_photos_views, /* integer - not in API docs */
PERSON_FIELD_favedate, /* dateTime - flickr.photos.getFavorites() */
PERSON_FIELD_FIRST = PERSON_FIELD_isadmin,
PERSON_FIELD_LAST = PERSON_FIELD_favedate
} flickcurl_person_field_type;
Fields of a flickcurl_person*
| internal | |
| is admin field boolean | |
| is pro field boolean | |
| icon server integer | |
| icon farm integer | |
| username | |
| real name | |
| Email SHA1 sum | |
| location | |
| photos URL | |
| profile URL | |
| mobile URL | |
| photos first date | |
| photos first date taken | |
| photos count | |
| photos views | |
| favorite date | |
| internal offset to first in enum list | |
| internal offset to last in enum list |