Show
Ignore:
Timestamp:
10/20/05 15:05:40 (17 years ago)
Author:
andreu
Message:

second RENETCOL CVS Integration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/remote_output.h

    r2 r8  
    2828#include <stdio.h> 
    2929#include <stdlib.h> 
     30#include <errno.h> 
     31#include <syslog.h> 
    3032#include <unistd.h> 
    3133#include <arpa/inet.h> 
     
    3840typedef struct RemoteHost { 
    3941  int sockId; 
    40   struct sockaddr_in *hostAddressPtr;  
    41   char *msgIpv4; 
    42   char *msgIpv6; 
    43   char *msgXcast; 
     42  struct sockaddr_storage *hostAddressPtr;  
    4443  RemoteHostPtr next; 
    4544} RemoteHostType; 
     
    6463void freeDb(DbPtr); 
    6564void freeFile(FilePtr); 
    66 int create_socket(char *, int, struct sockaddr_in *); 
    67 int sendMessage(int, unsigned char *, int, struct sockaddr_in *); 
     65int create_socket(char *, char *, struct sockaddr_storage *); 
     66int sendMessage(int, unsigned char *, int, struct sockaddr_storage *); 
    6867 
    6968#endif /* REMOTE_OUTPUT_H */