1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#ifndef PDESC_H #define PDESC_H #include <stdint.h> struct psock; struct pdesc { uint16_t identifier; uint16_t sequence; }; enum pdesc_retval { PDESC_REMOTE_NEW, PDESC_REMOTE_INVALID, PDESC_REMOTE_FOUND }; enum pdesc_retval pdesc_find_remote(struct psock *); #endif