surl_register_engine − Register the specified engine with the SURL object.
#include <libsurl−fe.h>
int surl_register_engine(SURL *surl, char *servicename, surl_engine_t *engine); |
surl_register_engine registers an engine with the given SURL under the name of the given service. This engine will be automatically used to create shortened URLs with that service.
surl_register_engine() 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".