Debian Codegraph @

Xpjproject/pjlib/src/pj/ip_helper_winphone8.c

raw symbols SCIP
1 /*
2 * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 #include <pj/config.h>
19
20 #include <pj/ip_helper.h>
21 #include <pj/assert.h>
22 #include <pj/errno.h>
23 #include <pj/string.h>
24
25 /*
26 * Enumerate the local IP interface currently active in the host.
27 */
28 PJ_DEF(pj_status_t) pj_enum_ip_interface(int af,
29 unsigned *p_cnt,
30 pj_sockaddr ifs[])
31 {
32 PJ_UNUSED_ARG(af);
33 PJ_UNUSED_ARG(ifs);
34
35 PJ_ASSERT_RETURN(p_cnt, PJ_EINVAL);
36
37 *p_cnt = 0;
38
39 return PJ_ENOTSUP;
40 }
41
42 /*
43 * Enumerate the local IP interface currently active in the host.
44 */
45 PJ_DEF(pj_status_t) pj_enum_ip_interface2( const pj_enum_ip_option *opt,
46 unsigned *p_cnt,
47 pj_sockaddr ifs[])
48 {
49 PJ_UNUSED_ARG(opt);
50 PJ_UNUSED_ARG(ifs);
51
52 PJ_ASSERT_RETURN(p_cnt, PJ_EINVAL);
53
54 *p_cnt = 0;
55
56 return PJ_ENOTSUP;
57 }
58
59
60
61
62 /*
63 * Enumerate the IP routing table for this host.
64 */
65 PJ_DEF(pj_status_t) pj_enum_ip_route(unsigned *p_cnt,
66 pj_ip_route_entry routes[])
67 {
68 PJ_UNUSED_ARG(routes);
69 PJ_ASSERT_RETURN(p_cnt, PJ_EINVAL);
70
71 *p_cnt = 0;
72
73 return PJ_ENOTSUP;
74 }