File: flickcurl-section-misc.html

package info (click to toggle)
flickcurl 1.26-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,784 kB
  • sloc: ansic: 26,045; sh: 11,915; xml: 1,025; makefile: 343
file content (636 lines) | stat: -rw-r--r-- 33,372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Miscellaneous</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Flickcurl Flickr API Manual">
<link rel="up" href="index.html" title="Flickcurl Flickr API Manual">
<link rel="prev" href="flickcurl-section-machinetags.html" title="Machine tag">
<link rel="next" href="flickcurl-section-note.html" title="Notes.">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="flickcurl-section-machinetags.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Flickcurl Flickr API Manual</th>
<td><a accesskey="n" href="flickcurl-section-note.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#flickcurl-section-misc.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#flickcurl-section-misc.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="flickcurl-section-misc"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="flickcurl-section-misc.top_of_page"></a>Miscellaneous</span></h2>
<p>Miscellaneous — Miscellaneous functions.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="flickcurl-section-misc.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="flickcurl-section-misc.html#flickcurl-location" title="flickcurl_location">flickcurl_location</a>;
                    <a class="link" href="flickcurl-section-misc.html#flickcurl-perms" title="flickcurl_perms">flickcurl_perms</a>;
                    <a class="link" href="flickcurl-section-misc.html#flickcurl-size" title="flickcurl_size">flickcurl_size</a>;
<span class="returnvalue">void</span>                <a class="link" href="flickcurl-section-misc.html#flickcurl-free-size" title="flickcurl_free_size ()">flickcurl_free_size</a>                 (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-size" title="flickcurl_size"><span class="type">flickcurl_size</span></a> *size</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="flickcurl-section-misc.html#flickcurl-free-sizes" title="flickcurl_free_sizes ()">flickcurl_free_sizes</a>                (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-size" title="flickcurl_size"><span class="type">flickcurl_size</span></a> **sizes_object</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="flickcurl-section-misc.html#flickcurl-free-location" title="flickcurl_free_location ()">flickcurl_free_location</a>             (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-location" title="flickcurl_location"><span class="type">flickcurl_location</span></a> *location</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="flickcurl-section-misc.html#flickcurl-free-perms" title="flickcurl_free_perms ()">flickcurl_free_perms</a>                (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-perms" title="flickcurl_perms"><span class="type">flickcurl_perms</span></a> *perms</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="flickcurl-section-misc.html#flickcurl-get-field-value-type-label" title="flickcurl_get_field_value_type_label ()">flickcurl_get_field_value_type_label</a>
                                                        (<em class="parameter"><code><a class="link" href="flickcurl-section-photo.html#flickcurl-field-value-type" title="enum flickcurl_field_value_type"><span class="type">flickcurl_field_value_type</span></a> datatype</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="flickcurl-section-misc.html#flickcurl-get-location-accuracy-label" title="flickcurl_get_location_accuracy_label ()">flickcurl_get_location_accuracy_label</a>
                                                        (<em class="parameter"><code><span class="type">int</span> accuracy</code></em>);
<a class="link" href="flickcurl-section-photo.html#flickcurl-photo" title="flickcurl_photo"><span class="returnvalue">flickcurl_photo</span></a> **  <a class="link" href="flickcurl-section-misc.html#flickcurl-interestingness-getList" title="flickcurl_interestingness_getList ()">flickcurl_interestingness_getList</a>   (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extras</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> per_page</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> page</code></em>);
<a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list" title="flickcurl_photos_list"><span class="returnvalue">flickcurl_photos_list</span></a> * <a class="link" href="flickcurl-section-misc.html#flickcurl-interestingness-getList-params" title="flickcurl_interestingness_getList_params ()">flickcurl_interestingness_getList_params</a>
                                                        (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
                                                         <em class="parameter"><code><a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list-params" title="flickcurl_photos_list_params"><span class="type">flickcurl_photos_list_params</span></a> *list_params</code></em>);
                    <a class="link" href="flickcurl-section-misc.html#flickcurl-license" title="flickcurl_license">flickcurl_license</a>;
const <span class="returnvalue">char</span> *        <a class="link" href="flickcurl-section-misc.html#flickcurl-get-content-type-label" title="flickcurl_get_content_type_label ()">flickcurl_get_content_type_label</a>    (<em class="parameter"><code><span class="type">int</span> content_type</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="flickcurl-section-misc.html#flickcurl-get-content-type-from-string" title="flickcurl_get_content_type_from_string ()">flickcurl_get_content_type_from_string</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *content_type_string</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="flickcurl-section-misc.html#flickcurl-get-hidden-label" title="flickcurl_get_hidden_label ()">flickcurl_get_hidden_label</a>          (<em class="parameter"><code><span class="type">int</span> hidden</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="flickcurl-section-misc.html#flickcurl-get-hidden-from-string" title="flickcurl_get_hidden_from_string ()">flickcurl_get_hidden_from_string</a>    (<em class="parameter"><code>const <span class="type">char</span> *hidden_string</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="flickcurl-section-misc.html#flickcurl-get-safety-level-label" title="flickcurl_get_safety_level_label ()">flickcurl_get_safety_level_label</a>    (<em class="parameter"><code><span class="type">int</span> safety_level</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="flickcurl-section-misc.html#flickcurl-get-safety-level-from-string" title="flickcurl_get_safety_level_from_string ()">flickcurl_get_safety_level_from_string</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *safety_level_string</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="flickcurl-section-misc.html#flickcurl-user-icon-uri" title="flickcurl_user_icon_uri ()">flickcurl_user_icon_uri</a>             (<em class="parameter"><code><span class="type">int</span> farm</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> server</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *nsid</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="flickcurl-section-misc.description"></a><h2>Description</h2>
<p>
Miscellaneous functions.
</p>
</div>
<div class="refsect1">
<a name="flickcurl-section-misc.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="flickcurl-location"></a><h3>flickcurl_location</h3>
<pre class="programlisting">typedef struct {
  double latitude;
  double longitude;
  int accuracy;
} flickcurl_location;
</pre>
<p>
A Location in the world with an optional accuracy
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="flickcurl-location.latitude"></a>latitude</code></em>;</span></p></td>
<td>The latitude from -90 to 90</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="flickcurl-location.longitude"></a>longitude</code></em>;</span></p></td>
<td>The longitude from -180 to 180</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-location.accuracy"></a>accuracy</code></em>;</span></p></td>
<td>Recorded accuracy level of the location.
World level is 1, Country is ~3, Region ~6, City ~11, Street
~16. Current range is 1-16. (&lt;0 for unknown accuracy)</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-perms"></a><h3>flickcurl_perms</h3>
<pre class="programlisting">typedef struct {
  int is_public;
  int is_contact;
  int is_friend;
  int is_family;
  int perm_comment;
  int perm_addmeta;
} flickcurl_perms;
</pre>
<p>
Permissions as used by <a class="link" href="flickcurl-section-photo.html#flickcurl-photos-getPerms" title="flickcurl_photos_getPerms ()"><code class="function">flickcurl_photos_getPerms()</code></a> and 
<a class="link" href="flickcurl-section-photo.html#flickcurl-photos-setPerms" title="flickcurl_photos_setPerms ()"><code class="function">flickcurl_photos_setPerms()</code></a> which use public, friend, family,
perm_comment and perm-addmeta.  <a class="link" href="flickcurl-section-photo.html#flickcurl-photos-geo-setPerms" title="flickcurl_photos_geo_setPerms ()"><code class="function">flickcurl_photos_geo_setPerms()</code></a> uses
public, contact, friend and family.
</p>
<p>
A Photo permission.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.is-public"></a>is_public</code></em>;</span></p></td>
<td>non-0 to set the photo to public else private</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.is-contact"></a>is_contact</code></em>;</span></p></td>
<td>non-0 to make the photo visible to contacts when private</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.is-friend"></a>is_friend</code></em>;</span></p></td>
<td>non-0 to make the photo visible to friends when private</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.is-family"></a>is_family</code></em>;</span></p></td>
<td>non-0 to make the photo visible to family when private</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.perm-comment"></a>perm_comment</code></em>;</span></p></td>
<td>who can add comments to the photo and it's notes. one of: 0 nobody,  1 friends &amp; family, 2 contacts, 3 everybody</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-perms.perm-addmeta"></a>perm_addmeta</code></em>;</span></p></td>
<td>who can add notes and tags to the photo. one of: 0 nobody / just the owner, 1 friends &amp; family, 2 contacts, 3 everybody</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-size"></a><h3>flickcurl_size</h3>
<pre class="programlisting">typedef struct {
  char *label;
  int width;
  int height;
  char *source;
  char *url;
  char* media;
} flickcurl_size;
</pre>
<p>
A photo at a size.
</p>
<p>
Supported sizes and their letter suffixes used in the <em class="parameter"><code>source</code></em> and
the <em class="parameter"><code>url</code></em> fields are as follows:
</p>
<p>
s: small square 75x75.
q: large square 150x150 (2011-03-12 or later).
t: thumbnail, 100 on longest side.
m: small, 240 on longest side.
n: small, 320 on longest side (2011-03-12 or later).
-: medium, 500 on longest side.
z: medium 640, 640 on longest side.
b: large, 1024 on longest side*.
o: original image, either a jpg, gif or png, depending on source format.
</p>
<p>
The 'q' and 'n' sizes were announced 2011-03-12 in
http://tech.groups.yahoo.com/group/yws-flickr/message/7483
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-size.label"></a>label</code></em>;</span></p></td>
<td>label</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-size.width"></a>width</code></em>;</span></p></td>
<td>width in pixels</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-size.height"></a>height</code></em>;</span></p></td>
<td>height in pixels</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-size.source"></a>source</code></em>;</span></p></td>
<td>raw image source URL</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-size.url"></a>url</code></em>;</span></p></td>
<td>url of photo page</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-size.media"></a>media</code></em>;</span></p></td>
<td>'photo' or 'video'</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-size"></a><h3>flickcurl_free_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                flickcurl_free_size                 (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-size" title="flickcurl_size"><span class="type">flickcurl_size</span></a> *size</code></em>);</pre>
<p>
Destructor for size object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>size object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-sizes"></a><h3>flickcurl_free_sizes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                flickcurl_free_sizes                (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-size" title="flickcurl_size"><span class="type">flickcurl_size</span></a> **sizes_object</code></em>);</pre>
<p>
Destructor for array of size objects
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>sizes_object</code></em> :</span></p></td>
<td>size object array</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-location"></a><h3>flickcurl_free_location ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                flickcurl_free_location             (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-location" title="flickcurl_location"><span class="type">flickcurl_location</span></a> *location</code></em>);</pre>
<p>
Destructor for location object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td>location object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-perms"></a><h3>flickcurl_free_perms ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                flickcurl_free_perms                (<em class="parameter"><code><a class="link" href="flickcurl-section-misc.html#flickcurl-perms" title="flickcurl_perms"><span class="type">flickcurl_perms</span></a> *perms</code></em>);</pre>
<p>
Destructor for perms object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>perms</code></em> :</span></p></td>
<td>perms object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-field-value-type-label"></a><h3>flickcurl_get_field_value_type_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        flickcurl_get_field_value_type_label
                                                        (<em class="parameter"><code><a class="link" href="flickcurl-section-photo.html#flickcurl-field-value-type" title="enum flickcurl_field_value_type"><span class="type">flickcurl_field_value_type</span></a> datatype</code></em>);</pre>
<p>
Get label for datatype
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>datatype</code></em> :</span></p></td>
<td>datatype enum</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>label string or NULL if none valid</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-location-accuracy-label"></a><h3>flickcurl_get_location_accuracy_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        flickcurl_get_location_accuracy_label
                                                        (<em class="parameter"><code><span class="type">int</span> accuracy</code></em>);</pre>
<p>
Get label for an accuracy
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>accuracy</code></em> :</span></p></td>
<td>accuracy</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>label string or NULL if none valid</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-interestingness-getList"></a><h3>flickcurl_interestingness_getList ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-photo.html#flickcurl-photo" title="flickcurl_photo"><span class="returnvalue">flickcurl_photo</span></a> **  flickcurl_interestingness_getList   (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extras</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> per_page</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> page</code></em>);</pre>
<p>
Returns the list of interesting photos for the most recent day or a user-specified date.
</p>
<p>
See <a class="link" href="flickcurl-section-misc.html#flickcurl-interestingness-getList" title="flickcurl_interestingness_getList ()"><code class="function">flickcurl_interestingness_getList()</code></a> for full description of arguments.
</p>
<p>
Implements flickr.interestingness.getList (0.13)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
<td>A specific date, formatted as YYYY-MM-DD, to return interesting photos for. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>extras</code></em> :</span></p></td>
<td>A comma-delimited list of extra information to fetch for each returned record. See <a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list-params" title="flickcurl_photos_list_params"><span class="type">flickcurl_photos_list_params</span></a> for the full list (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>per_page</code></em> :</span></p></td>
<td>Number of photos to return per page default 100, max 500</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td>The page of results to return, default 1</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-interestingness-getList-params"></a><h3>flickcurl_interestingness_getList_params ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list" title="flickcurl_photos_list"><span class="returnvalue">flickcurl_photos_list</span></a> * flickcurl_interestingness_getList_params
                                                        (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
                                                         <em class="parameter"><code><a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list-params" title="flickcurl_photos_list_params"><span class="type">flickcurl_photos_list_params</span></a> *list_params</code></em>);</pre>
<p>
Returns the list of interesting photos for the most recent day or a user-specified date.
</p>
<p>
Optional extra type 'media' that will return an extra media = VALUE
for VALUE "photo" or "video".  API addition 2008-04-07.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
<td>A specific date, formatted as YYYY-MM-DD, to return interesting photos for. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>list_params</code></em> :</span></p></td>
<td>
<a class="link" href="flickcurl-section-photoslist.html#flickcurl-photos-list-params" title="flickcurl_photos_list_params"><span class="type">flickcurl_photos_list_params</span></a> result parameters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-license"></a><h3>flickcurl_license</h3>
<pre class="programlisting">typedef struct {
  /* license id */
  int id;
  /* license url or NULL if none */
  char *url;
  /* license name */
  char *name;
} flickcurl_license;
</pre>
<p>
A photo license.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-license.id"></a>id</code></em>;</span></p></td>
<td>license ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-license.url"></a>url</code></em>;</span></p></td>
<td>license URL</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-license.name"></a>name</code></em>;</span></p></td>
<td>license short name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-content-type-label"></a><h3>flickcurl_get_content_type_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        flickcurl_get_content_type_label    (<em class="parameter"><code><span class="type">int</span> content_type</code></em>);</pre>
<p>
Get label for a content type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>content_type</code></em> :</span></p></td>
<td>safety level index</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to shared string label for content type or "unknown"</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-content-type-from-string"></a><h3>flickcurl_get_content_type_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 flickcurl_get_content_type_from_string
                                                        (<em class="parameter"><code>const <span class="type">char</span> *content_type_string</code></em>);</pre>
<p>
Get the enumeration value for a content type string.
</p>
<p>
Parses the string value into a content type either from an
integer form like '1' or a label like 'photo'.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>content_type_string</code></em> :</span></p></td>
<td>string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>content type enumeration value or &lt;0 on error</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-hidden-label"></a><h3>flickcurl_get_hidden_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        flickcurl_get_hidden_label          (<em class="parameter"><code><span class="type">int</span> hidden</code></em>);</pre>
<p>
Get label for a hidden status
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>hidden</code></em> :</span></p></td>
<td>safety level index</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to shared string label for hidden status or "unknown"</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-hidden-from-string"></a><h3>flickcurl_get_hidden_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 flickcurl_get_hidden_from_string    (<em class="parameter"><code>const <span class="type">char</span> *hidden_string</code></em>);</pre>
<p>
Get the enumeration value for a hidden status string.
</p>
<p>
Parses the string value into a safety level either from an
integer form like '1' or a label like 'hidden'.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>hidden_string</code></em> :</span></p></td>
<td>string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>safety level enumeration value or &lt;0 on error</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-safety-level-label"></a><h3>flickcurl_get_safety_level_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        flickcurl_get_safety_level_label    (<em class="parameter"><code><span class="type">int</span> safety_level</code></em>);</pre>
<p>
Get label for a safety level.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>safety_level</code></em> :</span></p></td>
<td>safety level index</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to shared string label for safety level or "unknown"</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-safety-level-from-string"></a><h3>flickcurl_get_safety_level_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 flickcurl_get_safety_level_from_string
                                                        (<em class="parameter"><code>const <span class="type">char</span> *safety_level_string</code></em>);</pre>
<p>
Get the enumeration value for a safety level string.
</p>
<p>
Parses the string value into a safety level either from an
integer form like '1' or a label like 'safe'.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>safety_level_string</code></em> :</span></p></td>
<td>string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>safety level enumeration value or &lt;0 on error</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-user-icon-uri"></a><h3>flickcurl_user_icon_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              flickcurl_user_icon_uri             (<em class="parameter"><code><span class="type">int</span> farm</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> server</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *nsid</code></em>);</pre>
<p>
Get the user's icon URI
</p>
<p>
The icon URI returned is always a 48x48 pixel JPEG.
</p>
<p>
If <em class="parameter"><code>server</code></em> is 0 (or the other fields are NULL), the default icon URI of
https://www.flickr.com/images/buddyicon.jpg is returned.
</p>
<p>
Defined by https://www.flickr.com/services/api/misc.buddyicons.html
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>farm</code></em> :</span></p></td>
<td>user icon farm</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>server</code></em> :</span></p></td>
<td>user icon server or 0</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nsid</code></em> :</span></p></td>
<td>user nsid</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new icon URI string or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>