surl_get_engine − return the engine associated with the given service
#include <libsurl−fe.h>
surl_engine_t *surl_get_engine(SURL *surl, char *service); |
surl_get_engine returns a pointer to the surl_engine_t associated with the service name for the given SURL.
If no associated engine can be found (meaning that the service name is, in effect, invalid), a null pointer is returned.
surl_get_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".