SCP: Expose get_sim_opt globally so that local commands can parse switches
This commit is contained in:
parent
5eb6566565
commit
d81ff1f17e
2 changed files with 1 additions and 1 deletions
1
scp.c
1
scp.c
|
@ -474,7 +474,6 @@ typedef enum {
|
|||
SW_NUMBER /* Numeric Value */
|
||||
} SWITCH_PARSE;
|
||||
SWITCH_PARSE get_switches (const char *cptr, int32 *sw_val, int32 *sw_number);
|
||||
CONST char *get_sim_sw (CONST char *cptr);
|
||||
t_stat get_aval (t_addr addr, DEVICE *dptr, UNIT *uptr);
|
||||
t_value get_rval (REG *rptr, uint32 idx);
|
||||
void put_rval (REG *rptr, uint32 idx, t_value val);
|
||||
|
|
1
scp.h
1
scp.h
|
@ -228,6 +228,7 @@ size_t sim_strlcpy (char *dst, const char *src, size_t size);
|
|||
#define strcasecmp(str1, str2) sim_strcasecmp ((str1), (str2))
|
||||
#endif
|
||||
CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st);
|
||||
CONST char *get_sim_sw (CONST char *cptr);
|
||||
const char *put_switches (char *buf, size_t bufsize, uint32 sw);
|
||||
CONST char *get_glyph (const char *iptr, char *optr, char mchar);
|
||||
CONST char *get_glyph_nc (const char *iptr, char *optr, char mchar);
|
||||
|
|
Loading…
Add table
Reference in a new issue