1SURL_GET_ENGINE(3) libsurl SURL_GET_ENGINE(3)
2
3
4
6 surl_get_engine - return the engine associated with the given service
7
9 #include <libsurl-fe.h>
10
11 surl_engine_t *surl_get_engine(SURL *surl, char *service);
12
14 surl_get_engine returns a pointer to the surl_engine_t associated with
15 the service name for the given SURL.
16
17 If no associated engine can be found (meaning that the service name is,
18 in effect, invalid), a null pointer is returned.
19
21 surl_get_engine() has no known bugs.
22
24 Scott R. Lawrence <bytbox@gmail.com>
25 Original author
26
28 Copyright © 2009 Scott Lawrence
29
30 Permission is granted to copy, distribute and/or modify this document
31 under the terms of the GNU Free Documentation License, Version 1.1 or
32 any later version published by the Free Software Foundation; with no
33 Invariant Sections, with no Front-Cover texts, and with no Back-Cover
34 Texts. A copy of the license is included in the section entitled "GNU
35 Free Documentation License".
36
37
38
39
40libsurl 0.7.0 2010-01-01 SURL_GET_ENGINE(3)