mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
use macro for EXTERN "C" begin and end lines in header files to clean up the headers, and to eliminate a format bug in emacs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1291 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
*/
|
||||
#ifndef _SWITCH_STUN_PARSER_H
|
||||
#define _SWITCH_STUN_PARSER_H
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
#define SWITCH_STUN_DEFAULT_PORT 3478
|
||||
#define SWITCH_STUN_PACKET_MIN_LEN 20
|
||||
|
||||
@@ -236,4 +239,7 @@ SWITCH_DECLARE(switch_status) switch_stun_lookup (char **ip,
|
||||
*/
|
||||
#define switch_stun_packet_length(packet) ntohs(packet->header.length) + sizeof(switch_stun_packet_header_t)
|
||||
///\}
|
||||
|
||||
END_EXTERN_C
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user