Add "extern C {...} to header files for C++ builds.
[freeradius.git] / src / include / vqp.h
1 #ifndef FR_VQP_H
2 #define FR_VQP_H
3
4 /*
5  * vqp.h        Structures and prototypes for Cisco's VLAN Query Protocol
6  *
7  * Version:     $Id$
8  *
9  *   This program is free software; you can redistribute it and/or modify
10  *   it under the terms of the GNU General Public License as published by
11  *   the Free Software Foundation; either version 2 of the License, or
12  *   (at your option) any later version.
13  *
14  *   This program is distributed in the hope that it will be useful,
15  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *   GNU General Public License for more details.
18  *
19  *   You should have received a copy of the GNU General Public License
20  *   along with this program; if not, write to the Free Software
21  *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22  *
23  * Copyright 2007  The FreeRADIUS server project
24  * Copyright 2007  Alan DeKok <aland@deployingradius.com>
25  */
26
27 #include <freeradius-devel/ident.h>
28 RCSIDH(vqp_h, "$Id$")
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 RADIUS_PACKET *vqp_recv(int sockfd);
35 int vqp_send(RADIUS_PACKET *packet);
36 int vqp_decode(RADIUS_PACKET *packet);
37 int vqp_encode(RADIUS_PACKET *packet, RADIUS_PACKET *original);
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* FR_VQP_H */