Files
mango/include/socks/status.h

22 lines
566 B
C
Raw Normal View History

2022-12-28 23:03:49 +00:00
#ifndef SOCKS_STATUS_H_
#define SOCKS_STATUS_H_
typedef unsigned int kern_status_t;
#define KERN_OK (0)
#define KERN_UNIMPLEMENTED (1)
#define KERN_NAME_EXISTS (2)
#define KERN_INVALID_ARGUMENT (3)
#define KERN_UNSUPPORTED (4)
#define KERN_NO_MEMORY (5)
#define KERN_NO_ENTRY (6)
#define KERN_WOULD_BLOCK (7)
#define KERN_BUSY (8)
2023-06-08 20:46:20 +01:00
#define KERN_NO_DEVICE (9)
2023-07-08 15:55:56 +01:00
#define KERN_DEVICE_STUCK (10)
#define KERN_IO_ERROR (11)
2022-12-28 23:03:49 +00:00
2023-04-09 16:38:31 +01:00
extern const char *kern_status_string(kern_status_t status);
2022-12-28 23:03:49 +00:00
#endif