1SURL_SETOPT(3) libsurl SURL_SETOPT(3)
2
3
4
6 surl_setopt - sets an option on a SURL
7
9 #include <libsurl-fe.h>
10
11 void surl_setopt(SURL *surl, char *optionname, char *value);
12
14 surl_setopt sets the value of a specified option. If a null pointer is
15 given as the value, the option is set to a blank string to avoid
16 confusing callers of surl_getopt.
17
19 surl_setopt() has no known bugs.
20
22 Scott R. Lawrence <bytbox@gmail.com>
23 Original author
24
26 Copyright © 2009 Scott Lawrence
27
28 Permission is granted to copy, distribute and/or modify this document
29 under the terms of the GNU Free Documentation License, Version 1.1 or
30 any later version published by the Free Software Foundation; with no
31 Invariant Sections, with no Front-Cover texts, and with no Back-Cover
32 Texts. A copy of the license is included in the section entitled "GNU
33 Free Documentation License".
34
35
36
37
38libsurl 0.7.0 2010-01-01 SURL_SETOPT(3)