void configure(void);
int ReadConfig(void);
const char *user_id(void);
const char *logname(void);
bool hide(void);
int playsound(void);
extern toolbox_o choices_handle, choices_pane[7], proxypasswordhandle;
extern bool hidden;
int choices_button_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int choices_tab_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int choices_set_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int netset_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int netkey_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int netopt_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int connset_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int logset_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int ckset_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int set_password_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int proxypass_show_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int saveas_show_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int saveas_save_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int saveas_drag_handler(bits event_code, toolbox_action *event,
                            toolbox_block *id, void *handle);
int saveas_ack_handler(wimp_message *message, void *handle);
int moo_test(bits event_code, toolbox_action *event,
             toolbox_block *id, void *handle);

void canonicalise(const char *leaf, char *buffer, int bufsiz);
