19 #if defined(URG_WINDOWS_OS)
28 RING_BUFFER_SIZE_SHIFT = 7,
29 RING_BUFFER_SIZE = 1 << RING_BUFFER_SIZE_SHIFT,
31 ERROR_MESSAGE_SIZE = 256,
38 #if defined(URG_WINDOWS_OS)
47 char buffer[RING_BUFFER_SIZE];
71 char *data,
int max_size,
int timeout);
76 char *data,
int max_size,
int timeout);
81 char *error_message,
int max_size);