8 #ifndef SRC_SKN_COMMON_HEADERS_H_ 9 #define SRC_SKN_COMMON_HEADERS_H_ 11 #include <sys/types.h> 27 #include <sys/socket.h> 29 #include <netinet/in.h> 31 #include <arpa/inet.h> 41 #define SD_EMERG "<0>" 42 #define SD_ALERT "<1>" 45 #define SD_WARNING "<4>" 46 #define SD_NOTICE "<5>" 48 #define SD_DEBUG "<7>" 78 #ifndef PACKAGE_VERSION 79 #define PACKAGE_VERSION "1.1" 82 #define PACKAGE_NAME "lcd_display_service" 84 #ifndef PACKAGE_DESCRIPTION 85 #define PACKAGE_DESCRIPTION "Locate Raspberry Pi's on the network." 89 #define SKN_FIND_RPI_PORT 48028 90 #define SKN_RPI_DISPLAY_SERVICE_PORT 48029 91 #define SKN_RPI_REGULAR_SERVICE_PORT 48027 93 #define SZ_CHAR_LABEL 48 94 #define SZ_INFO_BUFF 256 95 #define SZ_CHAR_BUFF 128 96 #define SZ_LINE_BUFF 512 97 #define SZ_COMM_BUFF 256 99 #define ARY_MAX_INTF 8 100 #define ARY_MAX_REGISTRY 128 101 #define ARY_MAX_DM_LINES 24 102 #define SKN_RUN_MODE_RUN 0 103 #define SKN_RUN_MODE_STOP 1 110 #define SCROLL_WAIT 1 111 #define SCROLL_NOWAIT 0 112 #define MAX_DISPLAY_ROWS 4 113 #define PLATFORM_ERROR -1
int(* setup)(const int, const int)
char ch_serial_port_name[SZ_CHAR_BUFF]
char cbName[SZ_CHAR_BUFF]