ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

nb30.h
Go to the documentation of this file.
00001 #ifndef _NB30_H
00002 #define _NB30_H
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 #define NCBNAMSZ 16
00008 #define MAX_LANA 254
00009 #define NAME_FLAGS_MASK 0x87
00010 #define GROUP_NAME 0x80
00011 #define UNIQUE_NAME 0x00
00012 #define REGISTERING 0x00
00013 #define REGISTERED 0x04
00014 #define DEREGISTERED 0x05
00015 #define DUPLICATE 0x06
00016 #define DUPLICATE_DEREG 0x07
00017 #define LISTEN_OUTSTANDING 0x01
00018 #define CALL_PENDING 0x02
00019 #define SESSION_ESTABLISHED 0x03
00020 #define HANGUP_PENDING 0x04
00021 #define HANGUP_COMPLETE 0x05
00022 #define SESSION_ABORTED 0x06
00023 #define ALL_TRANSPORTS "M\0\0\0"
00024 #define MS_NBF "MNBF"
00025 #define NCBCALL 0x10
00026 #define NCBLISTEN 0x11
00027 #define NCBHANGUP 0x12
00028 #define NCBSEND 0x14
00029 #define NCBRECV 0x15
00030 #define NCBRECVANY 0x16
00031 #define NCBCHAINSEND 0x17
00032 #define NCBDGSEND 0x20
00033 #define NCBDGRECV 0x21
00034 #define NCBDGSENDBC 0x22
00035 #define NCBDGRECVBC 0x23
00036 #define NCBADDNAME 0x30
00037 #define NCBDELNAME 0x31
00038 #define NCBRESET 0x32
00039 #define NCBASTAT 0x33
00040 #define NCBSSTAT 0x34
00041 #define NCBCANCEL 0x35
00042 #define NCBADDGRNAME 0x36
00043 #define NCBENUM 0x37
00044 #define NCBUNLINK 0x70
00045 #define NCBSENDNA 0x71
00046 #define NCBCHAINSENDNA 0x72
00047 #define NCBLANSTALERT 0x73
00048 #define NCBACTION 0x77
00049 #define NCBFINDNAME 0x78
00050 #define NCBTRACE 0x79
00051 #define ASYNCH 0x80
00052 #define NRC_GOODRET 0x00
00053 #define NRC_BUFLEN 0x01
00054 #define NRC_ILLCMD 0x03
00055 #define NRC_CMDTMO 0x05
00056 #define NRC_INCOMP 0x06
00057 #define NRC_BADDR 0x07
00058 #define NRC_SNUMOUT 0x08
00059 #define NRC_NORES 0x09
00060 #define NRC_SCLOSED 0x0a
00061 #define NRC_CMDCAN 0x0b
00062 #define NRC_DUPNAME 0x0d
00063 #define NRC_NAMTFUL 0x0e
00064 #define NRC_ACTSES 0x0f
00065 #define NRC_LOCTFUL 0x11
00066 #define NRC_REMTFUL 0x12
00067 #define NRC_ILLNN 0x13
00068 #define NRC_NOCALL 0x14
00069 #define NRC_NOWILD 0x15
00070 #define NRC_INUSE 0x16
00071 #define NRC_NAMERR 0x17
00072 #define NRC_SABORT 0x18
00073 #define NRC_NAMCONF 0x19
00074 #define NRC_IFBUSY 0x21
00075 #define NRC_TOOMANY 0x22
00076 #define NRC_BRIDGE 0x23
00077 #define NRC_CANOCCR 0x24
00078 #define NRC_CANCEL 0x26
00079 #define NRC_DUPENV 0x30
00080 #define NRC_ENVNOTDEF 0x34
00081 #define NRC_OSRESNOTAV 0x35
00082 #define NRC_MAXAPPS 0x36
00083 #define NRC_NOSAPS 0x37
00084 #define NRC_NORESOURCES 0x38
00085 #define NRC_INVADDRESS 0x39
00086 #define NRC_INVDDID 0x3B
00087 #define NRC_LOCKFAIL 0x3C
00088 #define NRC_OPENERR 0x3f
00089 #define NRC_SYSTEM 0x40
00090 #define NRC_PENDING 0xff
00091 #define NCB_POST void CALLBACK
00092 typedef struct _ACTION_HEADER {
00093     ULONG transport_id;
00094     USHORT action_code;
00095     USHORT reserved;
00096 } ACTION_HEADER,*PACTION_HEADER;
00097 typedef struct _ADAPTER_STATUS {
00098     UCHAR adapter_address[6];
00099     UCHAR rev_major;
00100     UCHAR reserved0;
00101     UCHAR adapter_type;
00102     UCHAR rev_minor;
00103     WORD duration;
00104     WORD frmr_recv;
00105     WORD frmr_xmit;
00106     WORD iframe_recv_err;
00107     WORD xmit_aborts;
00108     DWORD xmit_success;
00109     DWORD recv_success;
00110     WORD iframe_xmit_err;
00111     WORD recv_buff_unavail;
00112     WORD t1_timeouts;
00113     WORD ti_timeouts;
00114     DWORD reserved1;
00115     WORD free_ncbs;
00116     WORD max_cfg_ncbs;
00117     WORD max_ncbs;
00118     WORD xmit_buf_unavail;
00119     WORD max_dgram_size;
00120     WORD pending_sess;
00121     WORD max_cfg_sess;
00122     WORD max_sess;
00123     WORD max_sess_pkt_size;
00124     WORD name_count;
00125 } ADAPTER_STATUS,*PADAPTER_STATUS;
00126 typedef struct _FIND_NAME_BUFFER {
00127     UCHAR length;
00128     UCHAR access_control;
00129     UCHAR frame_control;
00130     UCHAR destination_addr[6];
00131     UCHAR source_addr[6];
00132     UCHAR routing_info[18];
00133 } FIND_NAME_BUFFER,*PFIND_NAME_BUFFER;
00134 typedef struct _FIND_NAME_HEADER {
00135     WORD node_count;
00136     UCHAR reserved;
00137     UCHAR unique_group;
00138 } FIND_NAME_HEADER,*PFIND_NAME_HEADER;
00139 typedef struct _LANA_ENUM {
00140     UCHAR length;
00141     UCHAR lana[MAX_LANA+1];
00142 } LANA_ENUM,*PLANA_ENUM;
00143 typedef struct _NAME_BUFFER {
00144     UCHAR name[NCBNAMSZ];
00145     UCHAR name_num;
00146     UCHAR name_flags;
00147 } NAME_BUFFER,*PNAME_BUFFER;
00148 typedef struct _NCB {
00149     UCHAR ncb_command;
00150     UCHAR ncb_retcode;
00151     UCHAR ncb_lsn;
00152     UCHAR ncb_num;
00153     PUCHAR ncb_buffer;
00154     WORD ncb_length;
00155     UCHAR ncb_callname[NCBNAMSZ];
00156     UCHAR ncb_name[NCBNAMSZ];
00157     UCHAR ncb_rto;
00158     UCHAR ncb_sto;
00159     void (CALLBACK *ncb_post)(struct _NCB*);
00160     UCHAR ncb_lana_num;
00161     UCHAR ncb_cmd_cplt;
00162     UCHAR ncb_reserve[10];
00163     HANDLE ncb_event;
00164 } NCB,*PNCB;
00165 typedef struct _SESSION_BUFFER {
00166     UCHAR lsn;
00167     UCHAR state;
00168     UCHAR local_name[NCBNAMSZ];
00169     UCHAR remote_name[NCBNAMSZ];
00170     UCHAR rcvs_outstanding;
00171     UCHAR sends_outstanding;
00172 } SESSION_BUFFER,*PSESSION_BUFFER;
00173 typedef struct _SESSION_HEADER {
00174     UCHAR sess_name;
00175     UCHAR num_sess;
00176     UCHAR rcv_dg_outstanding;
00177     UCHAR rcv_any_outstanding;
00178 } SESSION_HEADER,*PSESSION_HEADER;
00179 UCHAR WINAPI Netbios(PNCB);
00180 #ifdef __cplusplus
00181 }
00182 #endif
00183 #endif

Generated on Fri May 25 2012 04:30:31 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.