Flickcurl Flickr API Manual |
---|
The flickcurl_photos_search_params() function runs the search with the given search and list parameters, returning a flickcurl_photos_list struct containing either a list of photos, raw syntax content or NULL if the search failed.
The following code fragment runs a search using search parameters
and list list parameters configured elsewhere and assigns the
photos list result to the photos_list
variable (which
might be NULL if the search failed).
flickcurl_photos_list* photos_list; photos_list = flickcurl_photos_search_params(fc, ¶ms, &list_params); if(!photos_list) { fprintf(stderr, "Search for photos failed :(\n"); goto tidy; }