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/renetcolSender.h

    r2 r8  
    3030#include <errno.h> 
    3131#include <sys/types.h> 
     32#include <sys/wait.h> 
    3233#include <sys/ipc.h> 
    3334#include <sys/msg.h> 
     35#include <sys/sem.h> 
     36#include <sys/shm.h> 
    3437#include <signal.h> 
    3538#include <setjmp.h> 
     
    3841#include "rules_mgmt.h" 
    3942#include "remote_output.h" 
     43 
     44#define RECEPT_PORT "52571" 
     45#define VAR_SHARED_SIZE 4 
     46          
     47typedef union semun 
     48{ 
     49  int     val;                
     50  struct  semid_ds *buf;      
     51  unsigned short *array;              
     52} semunType; 
     53 
     54typedef struct glob { 
     55  int semId; 
     56  int lg; 
     57  pid_t renetcolPID; 
     58} globType; 
     59 
     60int todo(int, char*); 
     61int tcpServer (); 
     62void initConfSender();