Home --> Documentations --> PJNATH Reference

types.h
1 /* $Id: types.h 3553 2011-05-05 06:14:19Z nanang $ */
2 /*
3  * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
4  * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 #ifndef __PJNATH_TYPES_H__
21 #define __PJNATH_TYPES_H__
22 
28 #include <pj/types.h>
29 #include <pjnath/config.h>
30 
37 
42 #define PJ_TURN_INVALID_CHANNEL 0xFFFF
43 
44 
50 PJ_DECL(pj_status_t) pjnath_init(void);
51 
52 
60 #if PJNATH_ERROR_LEVEL <= PJ_LOG_MAX_LEVEL
61 PJ_DECL(void) pjnath_perror(const char *sender, const char *title,
62  pj_status_t status);
63 #else
64 # define pjnath_perror(sender, title, status)
65 #endif
66 
67 
68 
70 
75 #endif /* __PJNATH_TYPES_H__ */
76 
pj_status_t pjnath_init(void)
int pj_status_t
void pjnath_perror(const char *sender, const char *title, pj_status_t status)
#define PJ_END_DECL
#define PJ_BEGIN_DECL

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.