global.h File Reference

#include <pthread.h>
#include <netinet/in.h>
#include <stdio.h>
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

pthread_mutex_t mutex_cfg
pthread_mutex_t mutex_file
pthread_mutex_t mutex_Lower_Layer_Details
pthread_mutex_t mutex_Upper_Layer_Details
pthread_mutex_t mutex_status_change
unsigned char * cfgframe
unsigned char * dataframe
struct sockaddr_in UDP_my_addr TCP_my_addr
struct sockaddr_in UL_UDP_addr UL_TCP_addr
int UL_UDP_sockfd
int UL_TCP_sockfd
pthread_t UDP_thread
pthread_t TCP_thread
pthread_t p_thread
FILE * fp_log
FILE * fp_updc
char tname [20]
struct sockaddr_in DB_Server_addr
int DB_sockfd
int DB_addr_len
int PDC_IDCODE
int TCPPORT
int UDPPORT
char dbserver_ip [20]
unsigned char DATASYNC [3]
unsigned char CFGSYNC [3]
unsigned char CMDSYNC [3]
unsigned char CMDDATASEND [3]
unsigned char CMDDATAOFF [3]
unsigned char CMDCFGSEND [3]

Variable Documentation

unsigned char* cfgframe

Definition at line 40 of file global.h.

Referenced by create_cfgframe(), UL_tcp_connection(), and UL_udp().

unsigned char CFGSYNC[3]

Definition at line 58 of file global.h.

Referenced by create_cfgframe(), and recreate_cfg_objects().

unsigned char CMDCFGSEND[3]

Definition at line 58 of file global.h.

Referenced by create_command_frame(), and recreate_cfg_objects().

unsigned char CMDDATAOFF[3]

Definition at line 58 of file global.h.

Referenced by create_command_frame(), and recreate_cfg_objects().

unsigned char CMDDATASEND[3]

Definition at line 58 of file global.h.

Referenced by create_command_frame(), and recreate_cfg_objects().

unsigned char CMDSYNC[3]

Definition at line 58 of file global.h.

Referenced by create_command_frame(), and recreate_cfg_objects().

unsigned char * dataframe

Definition at line 40 of file global.h.

Referenced by create_dataframe(), and dispatch().

unsigned char DATASYNC[3]

Definition at line 58 of file global.h.

Referenced by create_dataframe(), and recreate_cfg_objects().

Definition at line 53 of file global.h.

Referenced by setup().

struct sockaddr_in DB_Server_addr

Definition at line 52 of file global.h.

Referenced by connect_pmu_tcp(), connect_pmu_udp(), and recreate_cfg_objects().

int DB_sockfd

Definition at line 53 of file global.h.

Referenced by connect_pmu_tcp(), connect_pmu_udp(), and recreate_cfg_objects().

char dbserver_ip[20]

Definition at line 56 of file global.h.

Referenced by fill_pdc_details(), recreate_cfg_objects(), and validation_pdc_detail().

FILE* fp_log
FILE * fp_updc

Definition at line 47 of file global.h.

Referenced by validation_pdc_detail().

pthread_mutex_t mutex_cfg

Definition at line 34 of file global.h.

Referenced by cfgparser(), dataparser(), recreate_cfg_objects(), and remove_llnode().

pthread_mutex_t mutex_file

Definition at line 35 of file global.h.

Referenced by cfgparser(), recreate_cfg_objects(), and remove_llnode().

pthread_mutex_t mutex_Lower_Layer_Details
pthread_mutex_t mutex_status_change
pthread_mutex_t mutex_Upper_Layer_Details
pthread_t p_thread

Definition at line 45 of file global.h.

Referenced by main().

struct sockaddr_in UDP_my_addr TCP_my_addr

Definition at line 42 of file global.h.

Referenced by setup().

pthread_t TCP_thread

Definition at line 45 of file global.h.

Referenced by main(), and setup().

int TCPPORT
char tname[20]

Definition at line 48 of file global.h.

Referenced by destroy(), and main().

pthread_t UDP_thread

Definition at line 45 of file global.h.

Referenced by main(), and setup().

int UDPPORT
struct sockaddr_in UL_UDP_addr UL_TCP_addr

Definition at line 43 of file global.h.

Referenced by UL_tcp().

Definition at line 44 of file global.h.

Referenced by main(), setup(), and UL_tcp().

Definition at line 44 of file global.h.

Referenced by main(), setup(), and UL_udp().

Generated on Tue Jun 7 13:36:09 2011 for iPDC-(PhasorDataConcentrator) by  doxygen 1.6.3