mbgtools-lx  4.2.8
mbg_tgt.h File Reference
#include <unistd.h>

Go to the source code of this file.

Macros

#define _ext   extern
 
#define MBG_TGT_POSIX
 
#define MBG_TGT_UNIX
 
#define FUNC_UNKNOWN   "func_???"
 
#define MBG_TGT_USE_IOCTL   0
 
#define MBG_INVALID_HANDLE   -1
 
#define MBG_INVALID_SOCK_FD   -1
 A value to mark an MBG_SOCK_FD as invalid. More...
 
#define MBG_SOCKET_ERR_RETVAL   -1
 The return code of socket functions in case of error. More...
 
#define _MBG_API
 
#define _MBG_API_ATTR
 
#define _NO_MBG_API
 
#define _NO_MBG_API_ATTR
 
#define MBG_INVALID_PORT_HANDLE   MBG_INVALID_HANDLE
 
#define MBG_TGT_C94   0
 
#define MBG_TGT_C99   0
 
#define MBG_TGT_HAS_WCHAR_T   ( MBG_TGT_C94 || defined( WCHAR_MAX ) )
 
#define _WCHAR_T
 
#define wchar_t   char
 

Typedefs

typedef int MBG_HANDLE
 
typedef int MBG_PORT_HANDLE
 
typedef int MBG_SOCK_FD
 A socket file descriptor type. More...
 

Macro Definition Documentation

◆ _ext

#define _ext   extern

Definition at line 191 of file mbg_tgt.h.

◆ _MBG_API

◆ _MBG_API_ATTR

#define _MBG_API_ATTR

Definition at line 1024 of file mbg_tgt.h.

Referenced by mbg_set_current_process_affinity_to_cpu().

◆ _NO_MBG_API

#define _NO_MBG_API

Definition at line 1028 of file mbg_tgt.h.

Referenced by check_feat_supp_byte_array().

◆ _NO_MBG_API_ATTR

◆ _WCHAR_T

#define _WCHAR_T

Definition at line 1086 of file mbg_tgt.h.

◆ FUNC_UNKNOWN

#define FUNC_UNKNOWN   "func_???"

Definition at line 381 of file mbg_tgt.h.

◆ MBG_INVALID_HANDLE

#define MBG_INVALID_HANDLE   -1

Definition at line 969 of file mbg_tgt.h.

◆ MBG_INVALID_PORT_HANDLE

#define MBG_INVALID_PORT_HANDLE   MBG_INVALID_HANDLE

Definition at line 1036 of file mbg_tgt.h.

◆ MBG_INVALID_SOCK_FD

#define MBG_INVALID_SOCK_FD   -1

A value to mark an MBG_SOCK_FD as invalid.

Definition at line 1003 of file mbg_tgt.h.

Referenced by dev_open_finish_setup().

◆ MBG_SOCKET_ERR_RETVAL

#define MBG_SOCKET_ERR_RETVAL   -1

The return code of socket functions in case of error.

Definition at line 1014 of file mbg_tgt.h.

Referenced by dev_open_finish_setup().

◆ MBG_TGT_C94

#define MBG_TGT_C94   0

Definition at line 1065 of file mbg_tgt.h.

◆ MBG_TGT_C99

#define MBG_TGT_C99   0

Definition at line 1072 of file mbg_tgt.h.

◆ MBG_TGT_HAS_WCHAR_T

#define MBG_TGT_HAS_WCHAR_T   ( MBG_TGT_C94 || defined( WCHAR_MAX ) )

Definition at line 1077 of file mbg_tgt.h.

◆ MBG_TGT_POSIX

#define MBG_TGT_POSIX

Definition at line 359 of file mbg_tgt.h.

◆ MBG_TGT_UNIX

#define MBG_TGT_UNIX

Definition at line 360 of file mbg_tgt.h.

◆ MBG_TGT_USE_IOCTL

#define MBG_TGT_USE_IOCTL   0

Definition at line 860 of file mbg_tgt.h.

◆ wchar_t

#define wchar_t   char

Definition at line 1087 of file mbg_tgt.h.

Typedef Documentation

◆ MBG_HANDLE

typedef int MBG_HANDLE

Definition at line 966 of file mbg_tgt.h.

◆ MBG_PORT_HANDLE

typedef int MBG_PORT_HANDLE

Definition at line 967 of file mbg_tgt.h.

◆ MBG_SOCK_FD

typedef int MBG_SOCK_FD

A socket file descriptor type.

Definition at line 991 of file mbg_tgt.h.