fixed some #include and data-type issues
This commit is contained in:
parent
80a63f30e3
commit
5a8837077a
@ -1,5 +1,6 @@
|
|||||||
0.8.2
|
0.8.2
|
||||||
=====
|
=====
|
||||||
|
26-Sep-2014: - fixed some #include and data-type issues.
|
||||||
25-May-2014: - PLUGIN_PROCESS_RAW: properly deal with the situation if a
|
25-May-2014: - PLUGIN_PROCESS_RAW: properly deal with the situation if a
|
||||||
RAW plugin modifies the message lengh.
|
RAW plugin modifies the message lengh.
|
||||||
11-Feb-2013: - plugin_defaulttarget: add "received from" IP to logging
|
11-Feb-2013: - plugin_defaulttarget: add "received from" IP to logging
|
||||||
|
|||||||
@ -19,10 +19,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
|
||||||
#include <osipparser2/osip_parser.h>
|
#include <osipparser2/osip_parser.h>
|
||||||
|
|
||||||
|
|||||||
@ -125,7 +125,7 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *raw_buffer; /* raw UDP packet */
|
char *raw_buffer; /* raw UDP packet */
|
||||||
int raw_buffer_len; /* length of raw data */
|
size_t raw_buffer_len; /* length of raw data */
|
||||||
osip_message_t *sipmsg; /* SIP */
|
osip_message_t *sipmsg; /* SIP */
|
||||||
struct sockaddr_in from; /* received from */
|
struct sockaddr_in from; /* received from */
|
||||||
#define PROTO_UNKN -1
|
#define PROTO_UNKN -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user