|  |  | Flickcurl Flickr API Manual |  | |
|---|---|---|---|---|
| Top | Description | ||||
int flickcurl_test_echo (flickcurl *fc,const char *key,const char *value); char * flickcurl_test_login (flickcurl *fc); int flickcurl_test_null (flickcurl *fc);
int flickcurl_test_echo (flickcurl *fc,const char *key,const char *value);
A testing method which echo's all parameters back in the response.
Actually prints the returned byte count to stderr.
Implements flickr.test.echo (0.5)
| 
 | flickcurl context | 
| 
 | test key | 
| 
 | test value | 
| Returns : | non-0 on failure | 
char *              flickcurl_test_login                (flickcurl *fc);
A testing method which checks if the caller is logged in then returns their username.
Implements flickr.test.login (1.0)
| 
 | flickcurl context | 
| Returns : | username or NULL on failure | 
int                 flickcurl_test_null                 (flickcurl *fc);
Null test
Implements flickr.test.null (1.0)
| 
 | flickcurl context | 
| Returns : | non-0 on failure |