define.h 393 Bytes
Newer Older
Benoit Steiner's avatar
Benoit Steiner committed
1 2 3 4 5 6 7 8 9 10 11 12 13
/* VideoLAN VLANbridge: error codes
 *
 * Definition file
 *
 * You don't need to include anything before including this file
 */


#ifndef _DEFINE_H
#define _DEFINE_H



Benoit Steiner's avatar
Benoit Steiner committed
14 15 16 17 18 19 20 21 22
/* Errors: iRc is < 0 */
#define GLOBAL_ERROR	-1
#define MUTEX_ERROR	-2
#define FILE_ERROR	-3

/* Others: iRc is > 0 */
#define BUFFER_FULL	1
#define BUFFER_EMPTY	2

Benoit Steiner's avatar
Benoit Steiner committed
23 24
#define BRIDGE_BUSY	5
#define BRIDGE_UNABLE   6
Benoit Steiner's avatar
Benoit Steiner committed
25 26

#endif