LAN API Symbolic Constants

This appendix lists the symbolic constants associated with variable-length ASCIIZ strings to which data structure components used in the OS/2 LAN APIs point.

The items listed under the Component column are either offsets or pointers to variable-length ASCIIZ strings. In most instances, these ASCIIZ strings can be from 0 to some maximum number of bytes long. The maximum length for the variable-length ASCIIZ strings is a symbolic constant that is defined with a value in the NETCONS.H header file.

The variable-length ASCIIZ string should not be greater in length than its symbolic constant + 1 byte. The +1 is to allow for the ending NULL character of the string.

The Symbolic Constant column lists the symbolic constant defined in the NETCONS.H header file.

The Component column lists the data structure components that act as a pointer or are offset to a variable-length ASCIIZ string.

The Data Structure column lists the data structure of which the component is a member.

The Category column lists the category to which the data structure belongs. ┌────────────────────┬─────────────────────┬─────────────────────┬─────────────┐
│ SYMBOLIC CONSTANT │ COMPONENT │ DATA STRUCTURE │ CATEGORY │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ CNLEN │ computername │ print_other_info │ Alert │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ computername │ user_other_info │ Alert │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ai2_server │ alias_info_2 │ Alias │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_so_compname │ ae_sesslogon │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_sf_compname │ ae_sesslogoff │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_sp_compname │ ae_sesspwerr │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ct_compname │ ae_connstart │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cp_compname │ ae_connstop │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cr_compname │ ae_connrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ra_compname │ ae_resaccess │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_rr_compname │ ae_resaccessrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cf_compname │ ae_closefile │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_am_compname │ ae_aclmod │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_um_compname │ ae_uasmod │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_no_compname │ ae_netlogon │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_nd_compname │ ae_netlogondenied │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_al_compname │ ae_acclim │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ coni1_netname │ connection_info_1 │ Connection │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki0_computername │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki0_logon_server │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki1_computername │ wksta_info_1 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki1_logon_server │ wksta_info_1 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki10_computername │ wksta_info_10 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi1_cname │ session_info_1 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi2_cname │ session_info_2 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi10_cname │ session_info_10 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_logon_server │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_logon_server │ user_info_11 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrreq1_workstation │ user_logon_req_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrreq2_computer │ user_logon_req_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrlog2_computer │ user_logon_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ DEVLEN │ arl_device │ app_res_list │ Application │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ lal_device_ │ logon_asn_list │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ch0_dev │ chardev_info_0 │ Serial │
│ │ │ │ Device │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ch1_dev │ chardev_info_1 │ Serial │
│ │ │ │ Device │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ui0_local │ use_info_0 │ Use │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ui1_local │ use_info_1 │ Use │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ DNLEN │ wki0_langroup │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki1_logon_domain │ wksta_info_1 │ Requester │
└────────────────────┴─────────────────────┴─────────────────────┴─────────────┘
┌────────────────────┬─────────────────────┬─────────────────────┬─────────────┐
│ SYMBOLIC CONSTANT │ COMPONENT │ DATA STRUCTURE │ CATEGORY │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki10_langroup │ wksta_info_10 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki10_logon_domain │ wksta_info_10 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrlog1_domain │ user_logon_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ DTLEN │ prjob_datatype │ prjob_info │ Print │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ EVLEN │ alrt_eventname │ std_alert │ Alert │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ GNLEN │ grpi0_name │ group_info_0 │ Group │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ grpi1_name │ group_info_1 │ Group │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ MAXCOMMENTSZ │ grpi1_comment │ group_info_1 │ Group │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv1_comment │ server_info_1 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv2_comment │ server_info_2 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv3_comment │ server_info_3 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ shi1_remark │ share_info_1 │ Share │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ shi2_remark │ share_info_2 │ Share │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri1_comment │ user_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_comment │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri10_comment │ user_info_10 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_comment │ user_info_11 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_full_name │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri10_full_name │ user_info_10 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_full_name │ user_info_11 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_usr_comment │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrlog2_full_name │ user_logon_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrlog2_usrcomment │ user_logon_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ MAXDEVENTRIES │ cq1_devs │ chardevQ_info_1 │ Serial │
│ (DEVLEN) │ │ │ Device │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ MAXWORKSTATIONS │ usri2_workstations │ user_info_2 │ User │
│ (CNLEN) │ │ │ │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_workstations │ user_info_11 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ NETBIOS_NAME_LEN │nb0 _ net _ name │netbios _ info _ 0 │NetBIOS │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ nb1_net_name │ netbios_info_1 │ NetBIOS │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ NNLEN │ ai2_netname │ alias_info_2 │ Alias │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ct_netname │ ae_connstart │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cp_netname │ ae_connstart │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cr_netname │ ae_connrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ cq0_dev │ chardevQ_info_0 │ Serial │
│ │ │ │ Device │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ cq1_dev │ chardevQ_info_1 │ Serial │
│ │ │ │ Device │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ PATHLEN │ acc0_resource_name │ access_info_0 │ Access │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ acc1_resource_name │ access_info_1 │ Access │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ra_resname │ ae_resaccess │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_rr_resname │ ae_resaccessrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cf_resname │ ae_closefile │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_am_resname │ ae_aclmode │ Auditing │
└────────────────────┴─────────────────────┴─────────────────────┴─────────────┘
┌────────────────────┬─────────────────────┬─────────────────────┬─────────────┐
│ SYMBOLIC CONSTANT │ COMPONENT │ DATA STRUCTURE │ CATEGORY │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_um_resname │ ae_uasmode │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_al_resname │ ae_acclim │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ fi1_pathname │ file_info_1 │ File │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ fi3_pathname │ file_info_3 │ File │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki0_root │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki1_root │ wksta_info_1 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv2_userpath │ server_info_2 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv3_userpath │ server_info_3 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ shi2_path │ share_info_2 │ Share │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri1_home_dir │ user_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri1_script_path │ user_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_home_dir │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_script_path │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_home_dir │ user_info_11 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri2_parms │ user_info_2 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usri11_parms │ user_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ usrlog1_script_path │ user_logon_info_1 │ User │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ PDLEN │ prdest_name │ prdest_info │ Print │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ QNLEN │ ai2_queue │ alias_info_2 │ Alias │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ prq_name │ prq_info │ Print │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ prjid_qname │ prid_info │ Print │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ RMLEN │ ui0_remote │ use_info_0 │ Use │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ui1_remote │ use_info_1 │ Use │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ SHPWLEN │ shi2_passwd │ share_info_2 │ Share │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ SNLEN │ ae_ss_svcname │ ae_servicestat │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ UNLEN │ username │ print_other_info │ Alert │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ username │ user_other_info │ Alert │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_so_username │ ae_sesslogon │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_sf_username │ ae_sesslogoff │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_sp_username │ ae_sesspwerr │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ct_username │ ae_connstart │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cp_username │ ae_connstop │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cr_username │ ae_connrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ra_username │ ae_resaccess │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_rr_username │ ae_resaccessrej │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_cf_username │ ae_closefile │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_ss_username │ ae_servicestat │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_am_username │ ae_aclmod │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_um_username │ ae_uasmod │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_no_username │ ae_netlogon │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_nd_username │ ae_netlogondenied │ Auditing │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ ae_al_username │ ae_acclim │ Auditing │
└────────────────────┴─────────────────────┴─────────────────────┴─────────────┘
┌────────────────────┬─────────────────────┬─────────────────────┬─────────────┐
│ SYMBOLIC CONSTANT │ COMPONENT │ DATA STRUCTURE │ CATEGORY │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ coni1_username │ connection_info_1 │ Connection │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ fi1_username │ file_info_1 │ File │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ fi3_username │ file_info_3 │ File │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki0_username │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki1_username │ wksta_info_1 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ wki10_username │ wksta_info_10 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi1_username │ session_info_1 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi2_username │ session_info_2 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sesi1_username │ session_info_10 │ Session │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ WRKHEUR_COUNT │ wki0_wrkheuristics │ wksta_info_0 │ Requester │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv2_srvheuristics │ server_info_2 │ Server │
├────────────────────┼─────────────────────┼─────────────────────┼─────────────┤
│ │ sv3_srvheuristics │ server_info_3 │ Server │
└────────────────────┴─────────────────────┴─────────────────────┴─────────────┘


[Back: Table of Header Files]
[Next: Notices]