Skip to content

Compatibility interfaces

OpenDoors retains these aliases and entry points so established source and binary consumers continue to build. New code should use the current names in the right-hand column.

Color spelling aliases

Compatibility name Current interface
od_chat_colour1 od_chat_color1
od_chat_colour2 od_chat_color2
od_colour_char od_color_char
od_colour_delimiter od_color_delimiter
od_colour_names od_color_names
od_full_colour od_full_color
od_colour_config() od_color_config()
od_set_colour() od_set_color()

These are spelling aliases only; they do not select different behavior.

Renamed control fields

The following names expand to members of od_control.

Compatibility name Current member
key_help key_status[6]
key_nohelp key_status[0]
user_credit user_net_credit
caller_netmailentered user_netmailentered
caller_echomailentered user_echomailentered
caller_logintime user_logintime
caller_logindate user_logindate
caller_timelimit user_timelimit
caller_loginsec user_loginsec
caller_credit user_net_credit
caller_userrecord, caller_usernum user_num
caller_readthru user_readthru
caller_numpages user_numpages
caller_downlimit user_downlimit
caller_timeofcreation user_timeofcreation
caller_logonpassword user_logonpassword
caller_wantchat user_wantchat
caller_ansi user_ansi
caller_callsign user_callsign
caller_sex user_sex
ra_deducted_time user_deducted_time
ra_menustack user_menustack
ra_menustackpointer user_menustackpointer
ra_userhandle user_handle
ra_comment user_comment
ra_firstcall user_firstcall
ra_combinedrecord user_combinedrecord
ra_birthday user_birthday
ra_subdate user_subdate
ra_screenwidth user_screenwidth
ra_msg_area user_msg_area
ra_file_area user_file_area
ra_language user_language
ra_date_format user_date_format
ra_forward_to user_forward_to
ra_error_free user_error_free
ra_sysop_next sysop_next
ra_emsi_session user_emsi_session
ra_emsi_crtdef user_emsi_crtdef
ra_emsi_protocols user_emsi_protocols
ra_emsi_capabilities user_emsi_capabilities
ra_emsi_requests user_emsi_requests
ra_emsi_software user_emsi_software
ra_hold_attr1 user_hold_attr1
ra_hold_attr2 user_hold_attr2
ra_hold_len user_hold_len
od_avatar user_avatar
od_rbbs_node od_node

Status and color aliases

Compatibility name Current value
B_YELLOW L_YELLOW, equivalent to blinking brown when used as a background
B_WHITE L_WHITE, equivalent to blinking grey when used as a background
STATUS_USER1 STATUS_ALTERNATE_1
STATUS_USER2 STATUS_ALTERNATE_2
STATUS_USER3 STATUS_ALTERNATE_3
STATUS_USER4 STATUS_ALTERNATE_4
STATUS_SYSTEM STATUS_ALTERNATE_5
STATUS_HELP STATUS_ALTERNATE_7

Global-style configuration aliases

These macros expose current od_control members as legacy global-style names.

Compatibility name Current member
od_registered_to od_control.od_reg_name
od_registration_key od_control.od_reg_key
od_program_name od_control.od_prog_name
od_log_messages od_control.od_logfile_messages
od_config_text od_control.od_cfg_text
od_config_lines od_control.od_cfg_lines
od_config_colours, od_config_colors od_control.od_color_names
config_file od_control.od_config_file
config_filename od_control.od_config_filename
config_function od_control.od_config_function
default_personality od_control.od_default_personality
logfile od_control.od_logfile
mps od_control.od_mps

od_kernal() is a retained misspelling of od_kernel().

Obsolete entry points

od_init_with_config is an obsolete macro which assigns the built-in configuration component and then calls od_init(). New code should make those assignments explicitly. od_log_open() and od_emulate() are obsolete public entry points retained for older applications; use the logging component and od_disp_emu() in new work.

Optional component routines ODConfigInit, ODLogEnable, and ODMPSEnable and built-in personality procedures are normally selected through the INCLUDE_* and PER_* macros rather than called directly.

Installed packages contain OpenDoor.h, the general OpenDoors API, and ODStat.h, the DOS personality SDK. Other module headers are private implementation interfaces. They remain in the source tree for building OpenDoors but are not installed or covered by the public compatibility guarantees described on this site.