surl_setopt − sets an option on a SURL
#include <libsurl−fe.h>
void surl_setopt(SURL *surl, char *optionname, char *value); |
surl_setopt sets the value of a specified option. If a null pointer is given as the value, the option is set to a blank string to avoid confusing callers of surl_getopt.
surl_setopt() has no known bugs.
Scott R. Lawrence <bytbox AT gmail DOT com>
Original author
Copyright © 2009 Scott Lawrence
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".