-
-void SetTitles(void)
-{
- setup_titles[eCitadelHomeDir] = _("Citadel Home Directory");
- setup_titles[eSysAdminName] = _("Citadel administrator username:");////
- setup_titles[eSysAdminPW] = _("Administrator password:");//
- setup_titles[eUID] = _("Citadel User ID:");
- setup_titles[eIP_ADDR] = _("Listening address for the Citadel server:");///
- setup_titles[eCTDL_Port] = _("Server port number:");
- setup_titles[eAuthType] = _("Authentication method to use:");////
- setup_titles[eLDAP_Host] = _("LDAP host:");///
- setup_titles[eLDAP_Port] = _("LDAP port number:");////
- setup_titles[eLDAP_Base_DN] = _("LDAP base DN:");///
- setup_titles[eLDAP_Bind_DN] = _("LDAP bind DN:");//
- setup_titles[eLDAP_Bind_PW] = _("LDAP bind password:");//
-}
-
-/*
- * print the actual stack frame.
- */
-void cit_backtrace(void)
-{
-#ifdef HAVE_BACKTRACE
- void *stack_frames[50];
- size_t size, i;
- char **strings;
-
- size = backtrace(stack_frames, sizeof(stack_frames) / sizeof(void*));
- strings = backtrace_symbols(stack_frames, size);
- for (i = 0; i < size; i++) {
- if (strings != NULL)
- fprintf(stderr, "%s\n", strings[i]);
- else
- fprintf(stderr, "%p\n", stack_frames[i]);
- }
- free(strings);
-#endif
-}
-
-struct config config;