dtcm: Always use ANSI function prototypes
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
|
||||
#include <csa.h>
|
||||
#include <nl_types.h>
|
||||
#include "ansi_c.h"
|
||||
#include "timeops.h"
|
||||
#include "util.h"
|
||||
#include "props.h"
|
||||
@@ -175,60 +174,60 @@ static const int ALL_DAY = -2;
|
||||
/*
|
||||
* External function definitions
|
||||
*/
|
||||
extern char *boolean_str P((boolean_t));
|
||||
extern int cm_tty_delete P((nl_catd, CSA_session_handle, int, int, CSA_entry_handle*));
|
||||
extern void cm_tty_format_header P((Props*, Tick, char*));
|
||||
extern int cm_tty_insert P((nl_catd, CSA_session_handle, int, char*, char*,
|
||||
extern char *boolean_str(boolean_t);
|
||||
extern int cm_tty_delete(nl_catd, CSA_session_handle, int, int, CSA_entry_handle*);
|
||||
extern void cm_tty_format_header(Props*, Tick, char*);
|
||||
extern int cm_tty_insert(nl_catd, CSA_session_handle, int, char*, char*,
|
||||
char*, char*, char*, char*,
|
||||
char*, Props*));
|
||||
extern void cm_tty_load_props P((Props**));
|
||||
extern int cm_tty_lookup P((nl_catd, CSA_session_handle, int, char*, char*,
|
||||
CSA_entry_handle**, Props*));
|
||||
extern boolean_t convert_boolean_str P((char*));
|
||||
extern CSA_sint32 convert_privacy_str P((char*));
|
||||
extern int convert_privacy_str_to_op P((char*));
|
||||
extern SeparatorType convert_separator_str P((char*));
|
||||
extern Time_scope_menu_op convert_time_scope_str P((char*));
|
||||
extern char *day_str P((Days_op));
|
||||
extern char *default_repeat_cnt_str P((Repeat_menu_op));
|
||||
extern char *default_repeat_scope_str P((nl_catd, Repeat_menu_op));
|
||||
extern char *for_str P((For_menu_op));
|
||||
extern char *get_datemsg P((OrderingType,
|
||||
SeparatorType));
|
||||
extern Parse_key_op identify_parse_key P((char*));
|
||||
extern void load_appt_defaults P((Dtcm_appointment*, Props*));
|
||||
extern void load_reminder_props P((Dtcm_appointment*, Props*));
|
||||
extern char *month_str P((Months_op));
|
||||
extern Validate_op parse_appt_from_file P((nl_catd, char*, CmDataList*,
|
||||
char*, Props*);
|
||||
extern void cm_tty_load_props(Props**);
|
||||
extern int cm_tty_lookup(nl_catd, CSA_session_handle, int, char*, char*,
|
||||
CSA_entry_handle**, Props*);
|
||||
extern boolean_t convert_boolean_str(char*);
|
||||
extern CSA_sint32 convert_privacy_str(char*);
|
||||
extern int convert_privacy_str_to_op (char*);
|
||||
extern SeparatorType convert_separator_str(char*);
|
||||
extern Time_scope_menu_op convert_time_scope_str(char*);
|
||||
extern char *day_str(Days_op);
|
||||
extern char *default_repeat_cnt_str(Repeat_menu_op);
|
||||
extern char *default_repeat_scope_str(nl_catd, Repeat_menu_op);
|
||||
extern char *for_str(For_menu_op);
|
||||
extern char *get_datemsg(OrderingType,
|
||||
SeparatorType);
|
||||
extern Parse_key_op identify_parse_key(char*);
|
||||
extern void load_appt_defaults(Dtcm_appointment*, Props*);
|
||||
extern void load_reminder_props(Dtcm_appointment*, Props*);
|
||||
extern char *month_str(Months_op);
|
||||
extern Validate_op parse_appt_from_file(nl_catd, char*, CmDataList*,
|
||||
Props*, boolean_t(*)(void*),
|
||||
void*, int));
|
||||
extern char *parse_attrs_to_string P((Dtcm_appointment*, Props*,
|
||||
char*));
|
||||
extern char *attrs_to_string P((CSA_attribute *, int));
|
||||
extern char *create_rfc_message P((char *, char *, char**, int));
|
||||
extern char *parse_appt_to_string P((CSA_session_handle, CSA_entry_handle, Props*, int));
|
||||
extern char *periodstr_from_period P((CSA_sint32, int));
|
||||
extern char *privacy_str P((int));
|
||||
extern char *privacy_str_old P((int));
|
||||
extern char *repeat_str P((nl_catd, Repeat_menu_op));
|
||||
extern char *repeat_scope_str P((nl_catd, Repeat_scope_menu_op));
|
||||
extern char *privacy_str_411 P((int));
|
||||
extern char *separator_str P((SeparatorType));
|
||||
extern void str_to_period P((char*, CSA_sint32*, int*));
|
||||
extern int timescopestring_to_tick P((char*));
|
||||
extern char *time_scope_str P((Time_scope_menu_op));
|
||||
extern char *time_scope_str_i18n P((nl_catd, Time_scope_menu_op));
|
||||
extern boolean_t valid_time P((Props*, char*));
|
||||
extern Validate_op validate_appt P((nl_catd, Dtcm_appointment*,
|
||||
void*, int);
|
||||
extern char *parse_attrs_to_string(Dtcm_appointment*, Props*,
|
||||
char*);
|
||||
extern char *attrs_to_string(CSA_attribute *, int);
|
||||
extern char *create_rfc_message(char *, char *, char**, int);
|
||||
extern char *parse_appt_to_string(CSA_session_handle, CSA_entry_handle, Props*, int);
|
||||
extern char *periodstr_from_period(CSA_sint32, int);
|
||||
extern char *privacy_str(int);
|
||||
extern char *privacy_str_old(int);
|
||||
extern char *repeat_str (nl_catd, Repeat_menu_op);
|
||||
extern char *repeat_scope_str(nl_catd, Repeat_scope_menu_op);
|
||||
extern char *privacy_str_411(int);
|
||||
extern char *separator_str(SeparatorType);
|
||||
extern void str_to_period(char*, CSA_sint32*, int*);
|
||||
extern int timescopestring_to_tick(char*);
|
||||
extern char *time_scope_str(Time_scope_menu_op);
|
||||
extern char *time_scope_str_i18n(nl_catd, Time_scope_menu_op);
|
||||
extern boolean_t valid_time(Props*, char*);
|
||||
extern Validate_op validate_appt(nl_catd, Dtcm_appointment*,
|
||||
char*, char*, char*, int,
|
||||
char*, char*, char*,
|
||||
boolean_t(*)(void*), void*,
|
||||
int));
|
||||
extern Validate_op validate_dssw P((Dtcm_appointment*, char*,
|
||||
int);
|
||||
extern Validate_op validate_dssw(Dtcm_appointment*, char*,
|
||||
char*, char*, int, char*,
|
||||
boolean_t(*)(void*), void*));
|
||||
extern Validate_op validate_rfp P((nl_catd, Dtcm_appointment*,
|
||||
char*, char*, int));
|
||||
extern Validate_op validate_reminders P((Dtcm_appointment*));
|
||||
boolean_t(*)(void*), void*);
|
||||
extern Validate_op validate_rfp(nl_catd, Dtcm_appointment*,
|
||||
char*, char*, int);
|
||||
extern Validate_op validate_reminders(Dtcm_appointment*);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -64,7 +64,6 @@ struct timeb
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include "ansi_c.h"
|
||||
|
||||
#define BOT_YEAR 1970
|
||||
#define EOT_YEAR 2037
|
||||
@@ -77,12 +76,12 @@ struct timeb
|
||||
#define DATE_BHOUR -7 /* date had a bad hour number */
|
||||
#define DATE_CONV -8 /* date converted poorly for am/pm/24hr */
|
||||
|
||||
extern time_t dateconv P((int, int, int, int, int, int, int, int, int));
|
||||
extern time_t dayconv P((int, int, time_t));
|
||||
extern time_t timeconv P((int, int, int, int));
|
||||
extern time_t monthadd P((time_t, time_t));
|
||||
extern time_t daylcorr P((time_t, time_t));
|
||||
extern time_t cm_getdate P((char*, struct timeb *));
|
||||
extern time_t dateconv (int, int, int, int, int, int, int, int, int);
|
||||
extern time_t dayconv (int, int, time_t);
|
||||
extern time_t timeconv (int, int, int, int);
|
||||
extern time_t monthadd (time_t, time_t);
|
||||
extern time_t daylcorr (time_t, time_t);
|
||||
extern time_t cm_getdate (char*, struct timeb *);
|
||||
|
||||
int yylex();
|
||||
extern void yyerror(char *s);
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#define _PROPS_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "ansi_c.h"
|
||||
#include "resource.h"
|
||||
|
||||
/*******************************************************************************
|
||||
@@ -150,14 +149,14 @@ typedef struct {
|
||||
** External function declarations
|
||||
**
|
||||
*******************************************************************************/
|
||||
extern boolean_t cal_convert_cmrc P((Props*));
|
||||
extern char *get_char_prop P((Props*, Props_op));
|
||||
extern char *get_char_prop_default P((Props_op));
|
||||
extern int get_int_prop P((Props*, Props_op));
|
||||
extern void props_clean_up P((Props*));
|
||||
extern boolean_t read_props P((Props*));
|
||||
extern boolean_t save_props P((Props*));
|
||||
extern boolean_t set_char_prop P((Props*, Props_op, char*));
|
||||
extern boolean_t set_int_prop P((Props*, Props_op, int));
|
||||
extern boolean_t cal_convert_cmrc(Props*);
|
||||
extern char *get_char_prop(Props*, Props_op);
|
||||
extern char *get_char_prop_default(Props_op);
|
||||
extern int get_int_prop(Props*, Props_op);
|
||||
extern void props_clean_up(Props*);
|
||||
extern boolean_t read_props(Props*);
|
||||
extern boolean_t save_props(Props*);
|
||||
extern boolean_t set_char_prop(Props*, Props_op, char*);
|
||||
extern boolean_t set_int_prop(Props*, Props_op, int);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -51,8 +51,7 @@
|
||||
|
||||
#ifndef _RESOURCE_H
|
||||
#define _RESOURCE_H
|
||||
|
||||
#include "ansi_c.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
@@ -68,14 +67,14 @@ typedef struct Resource Resource;
|
||||
/*
|
||||
** Function declarations
|
||||
*/
|
||||
extern void free_resources P((Resource*));
|
||||
extern char *get_resource P((Resource*, char *, char*,
|
||||
char*, char*));
|
||||
extern char *get_resource_by_val P((Resource*, char*, char*));
|
||||
extern boolean_t load_resources P((Resource**, char*));
|
||||
extern boolean_t save_resources P((Resource*, char*));
|
||||
extern boolean_t set_resource P((Resource**, char*, char*,
|
||||
char*, char*));
|
||||
extern boolean_t set_resource_by_val P((Resource**, char*, char*));
|
||||
extern void free_resourcee(Resource*);
|
||||
extern char *get_resource(Resource*, char *, char*,
|
||||
char*, char*);
|
||||
extern char *get_resource_by_val(Resource*, char*, char*);
|
||||
extern boolean_t load_resources(Resource**, char*);
|
||||
extern boolean_t save_resources(Resource*, char*);
|
||||
extern boolean_t set_resource(Resource**, char*, char*,
|
||||
char*, char*);
|
||||
extern boolean_t set_resource_by_val(Resource**, char*, char*);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#define _TIMEOPS_H
|
||||
|
||||
#include <EUSCompat.h>
|
||||
#include "ansi_c.h"
|
||||
|
||||
typedef enum {
|
||||
minsec = 60,
|
||||
@@ -81,71 +80,71 @@ extern char *months2[];
|
||||
extern int monthsecs[];
|
||||
extern char *numbers[];
|
||||
|
||||
extern int days_to_seconds P((int));
|
||||
extern int dom P((Tick));
|
||||
extern int dow P((Tick));
|
||||
extern int fdom P((Tick));
|
||||
extern Tick first_dom P((Tick));
|
||||
extern Tick first_dow P((Tick));
|
||||
extern Tick get_eot P(());
|
||||
extern Tick get_bot P(());
|
||||
extern long gmt_off P(());
|
||||
extern int hour P((Tick));
|
||||
extern int hours_to_seconds P((int));
|
||||
extern void init_time P(());
|
||||
extern Tick jan1 P((Tick));
|
||||
extern Tick last_dom P((Tick));
|
||||
extern Tick last_dow P((Tick));
|
||||
extern Tick last_ndays P((Tick t, int));
|
||||
extern int lastapptofweek P((u_int));
|
||||
extern Tick lastjan1 P((Tick));
|
||||
extern int ldom P((Tick));
|
||||
extern Tick lower_bound P((int, Tick));
|
||||
extern Tick lowerbound P((Tick));
|
||||
extern boolean_t magic_time P((Tick t));
|
||||
extern Tick midnight P(());
|
||||
extern int minutes_to_seconds P((int));
|
||||
extern int minute P((Tick));
|
||||
extern int month P((Tick));
|
||||
extern Tick monthdayyear P((int, int, int));
|
||||
extern int monthlength P((Tick));
|
||||
extern Tick next_ndays P((Tick, int));
|
||||
extern Tick next_nhours P((Tick, int));
|
||||
extern Tick next2weeks P((Tick));
|
||||
extern Tick nextday P((Tick));
|
||||
extern Tick nextjan1 P((Tick));
|
||||
extern Tick nextmonth P((Tick t));
|
||||
extern Tick next_nmonth P((Tick t, int n));
|
||||
extern Tick nextmonth_exactday P((Tick t));
|
||||
extern Tick nextweek P((Tick t));
|
||||
extern Tick nextyear P((Tick));
|
||||
extern Tick nextnyear P((Tick t, int n));
|
||||
extern Tick now P(());
|
||||
extern int ntimes_this_week P((u_int, int));
|
||||
extern int numwks P((Tick));
|
||||
extern Tick prev_nmonth P((Tick t, int n));
|
||||
extern Tick prevmonth_exactday P((Tick));
|
||||
extern Tick previousmonth P((Tick t));
|
||||
extern Tick prevweek P((Tick t));
|
||||
extern Tick prev2weeks P((Tick t));
|
||||
extern Tick prevnyear P((Tick t, int n));
|
||||
extern int seconds P((int n, Unit unit));
|
||||
extern double seconds_dble P((double n, Unit unit));
|
||||
extern int seconds_to_days P((int));
|
||||
extern int seconds_to_hours P((int));
|
||||
extern int seconds_to_minutes P((int));
|
||||
extern int seconds_to_weeks P((int));
|
||||
extern void set_timezone P((char*));
|
||||
extern int timeok P((Tick t));
|
||||
extern Tick upperbound P((Tick));
|
||||
extern int weeks_to_seconds P((int));
|
||||
extern int wom P((Tick));
|
||||
extern boolean_t weekofmonth P((Tick, int*));
|
||||
extern Tick xytoclock P((int, int, Tick));
|
||||
extern int year P((Tick));
|
||||
extern int adjust_dst P((Tick, Tick));
|
||||
extern boolean_t adjust_hour P((int*));
|
||||
extern int leapyr P((int));
|
||||
extern Tick prevday P((Tick));
|
||||
extern int days_to_seconds (int);
|
||||
extern int dom (Tick);
|
||||
extern int dow (Tick);
|
||||
extern int fdom (Tick);
|
||||
extern Tick first_dom (Tick);
|
||||
extern Tick first_dow (Tick);
|
||||
extern Tick get_eot (void);
|
||||
extern Tick get_bot (void);
|
||||
extern long gmt_off (void);
|
||||
extern int hour (Tick);
|
||||
extern int hours_to_seconds(int);
|
||||
extern void init_time (void);
|
||||
extern Tick jan1 (Tick);
|
||||
extern Tick last_dom (Tick);
|
||||
extern Tick last_dow (Tick);
|
||||
extern Tick last_ndays (Tick t, int);
|
||||
extern int lastapptofweek (u_int);
|
||||
extern Tick lastjan1 (Tick);
|
||||
extern int ldom (Tick);
|
||||
extern Tick lower_bound (int, Tick);
|
||||
extern Tick lowerbound (Tick);
|
||||
extern boolean_t magic_time (Tick t);
|
||||
extern Tick midnight ();
|
||||
extern int minutes_to_seconds(int);
|
||||
extern int minute (Tick);
|
||||
extern int month (Tick);
|
||||
extern Tick monthdayyear (int, int, int);
|
||||
extern int monthlength (Tick);
|
||||
extern Tick next_ndays (Tick, int);
|
||||
extern Tick next_nhours (Tick, int);
|
||||
extern Tick next2weeks (Tick);
|
||||
extern Tick nextday (Tick);
|
||||
extern Tick nextjan1 (Tick);
|
||||
extern Tick nextmonth (Tick t);
|
||||
extern Tick next_nmonth (Tick t, int n);
|
||||
extern Tick nextmonth_exactday(Tick t);
|
||||
extern Tick nextweek (Tick t);
|
||||
extern Tick nextyear (Tick);
|
||||
extern Tick nextnyear (Tick t, int n);
|
||||
extern Tick now (void);
|
||||
extern int ntimes_this_week(u_int, int);
|
||||
extern int numwks (Tick);
|
||||
extern Tick prev_nmonth (Tick t, int n);
|
||||
extern Tick prevmonth_exactday(Tick);
|
||||
extern Tick previousmonth (Tick t);
|
||||
extern Tick prevweek (Tick t);
|
||||
extern Tick prev2weeks (Tick t);
|
||||
extern Tick prevnyear (Tick t, int n);
|
||||
extern int seconds (int n, Unit unit);
|
||||
extern double seconds_dble (double n, Unit unit);
|
||||
extern int seconds_to_days (int);
|
||||
extern int seconds_to_hours(int);
|
||||
extern int seconds_to_minutes(int);
|
||||
extern int seconds_to_weeks(int);
|
||||
extern void set_timezone (char*);
|
||||
extern int timeok (Tick t);
|
||||
extern Tick upperbound (Tick);
|
||||
extern int weeks_to_seconds(int);
|
||||
extern int wom (Tick);
|
||||
extern boolean_t weekofmonth (Tick, int*);
|
||||
extern Tick xytoclock (int, int, Tick);
|
||||
extern int year (Tick);
|
||||
extern int adjust_dst (Tick, Tick);
|
||||
extern boolean_t adjust_hour (int*);
|
||||
extern int leapyr (int);
|
||||
extern Tick prevday (Tick);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <csa.h>
|
||||
#include "ansi_c.h"
|
||||
#include "timeops.h"
|
||||
#include "props.h"
|
||||
|
||||
@@ -212,79 +211,79 @@ typedef struct {
|
||||
* forth to the backend. These functions and structures make hard coding
|
||||
* indexes into the arrays unnecessary.
|
||||
*/
|
||||
extern Dtcm_appointment *allocate_appt_struct P((Allocation_reason , int, ...));
|
||||
extern CSA_return_code query_appt_struct P((CSA_session_handle,
|
||||
extern Dtcm_appointment *allocate_appt_struct(Allocation_reason , int, ...);
|
||||
extern CSA_return_code query_appt_struct (CSA_session_handle,
|
||||
CSA_entry_handle,
|
||||
Dtcm_appointment *));
|
||||
extern Dtcm_calendar *allocate_cal_struct P((Allocation_reason, int, ...));
|
||||
extern CSA_return_code query_cal_struct P((CSA_session_handle,
|
||||
Dtcm_calendar *));
|
||||
extern void free_appt_struct P((Dtcm_appointment**));
|
||||
extern void free_cal_struct P((Dtcm_calendar**));
|
||||
Dtcm_appointment *);
|
||||
extern Dtcm_calendar *allocate_cal_struct(Allocation_reason, int, ...);
|
||||
extern CSA_return_code query_cal_struct (CSA_session_handle,
|
||||
Dtcm_calendar *);
|
||||
extern void free_appt_struct(Dtcm_appointment**);
|
||||
extern void free_cal_struct (Dtcm_calendar**);
|
||||
|
||||
extern boolean_t cal_ident_index_ro P((int, int));
|
||||
extern boolean_t entry_ident_index_ro P((int, int));
|
||||
extern CSA_enum cal_ident_index_tag P((int));
|
||||
extern CSA_enum entry_ident_index_tag P((int));
|
||||
extern boolean_t ident_name_ro P((char*, int));
|
||||
extern void initialize_cal_attr P((int, CSA_attribute*,
|
||||
Allocation_reason, int));
|
||||
extern void initialize_entry_attr P((int, CSA_attribute*,
|
||||
Allocation_reason, int));
|
||||
extern void set_appt_links P((Dtcm_appointment*));
|
||||
extern void set_cal_links P((Dtcm_calendar*));
|
||||
extern void scrub_cal_attr_list P((Dtcm_calendar*));
|
||||
extern void setup_range P((CSA_attribute**,
|
||||
extern boolean_t cal_ident_index_ro(int, int);
|
||||
extern boolean_t entry_ident_index_ro(int, int);
|
||||
extern CSA_enum cal_ident_index_tag(int);
|
||||
extern CSA_enum entry_ident_index_tag(int);
|
||||
extern boolean_t ident_name_ro(char*, int);
|
||||
extern void initialize_cal_attr(int, CSA_attribute*,
|
||||
Allocation_reason, int);
|
||||
extern void initialize_entry_attr(int, CSA_attribute*,
|
||||
Allocation_reason, int);
|
||||
extern void set_appt_links (Dtcm_appointment*);
|
||||
extern void set_cal_links (Dtcm_calendar*);
|
||||
extern void scrub_cal_attr_list(Dtcm_calendar*);
|
||||
extern void setup_range (CSA_attribute**,
|
||||
CSA_enum**, int*, time_t,
|
||||
time_t, CSA_sint32, CSA_sint32,
|
||||
boolean_t, int));
|
||||
extern void free_range P((CSA_attribute**,
|
||||
CSA_enum**, int));
|
||||
boolean_t, int);
|
||||
extern void free_range (CSA_attribute**,
|
||||
CSA_enum**, int);
|
||||
|
||||
/*
|
||||
* Other utilty functions
|
||||
*/
|
||||
extern int blank_buf P((char*));
|
||||
extern int embedded_blank P((char*));
|
||||
extern char *ckalloc P(());
|
||||
extern char *cm_def_printer P(());
|
||||
extern char *cm_get_credentials P(());
|
||||
extern char *cm_get_local_domain P(());
|
||||
extern char *cm_get_local_host P(());
|
||||
extern char *cm_get_uname P(());
|
||||
extern char *cm_pqtarget P((char*));
|
||||
extern char *cm_strcat P((char*, char*));
|
||||
extern char *cm_strcpy P((char*, char*));
|
||||
extern char *cm_strdup P((char*));
|
||||
extern int cm_strlen P((char*));
|
||||
extern char *cm_target2domain P((char*));
|
||||
extern char *cm_target2host P((char*));
|
||||
extern char *cm_target2location P((char*));
|
||||
extern char *cm_target2name P((char*));
|
||||
extern char *cr_to_str P((char*));
|
||||
extern void destroy_lines P((Lines*));
|
||||
extern void expand_esc_chars P((char*));
|
||||
extern char *get_head P((char*, char));
|
||||
extern char *get_tail P((char*, char));
|
||||
extern void print_tick P((time_t));
|
||||
extern boolean_t same_path P((char*, char*));
|
||||
extern boolean_t same_user P((char*, char*));
|
||||
extern char *str_to_cr P((char*));
|
||||
extern char *strncat P(());
|
||||
extern char *substr P((char*, int, int n));
|
||||
extern void syserr P((char*, int, int, int));
|
||||
extern Lines *text_to_lines P((char*, int));
|
||||
extern int get_data_version P((CSA_session_handle));
|
||||
extern int get_server_version P((CSA_session_handle));
|
||||
extern CSA_sint32 privacy_set P((Dtcm_appointment *));
|
||||
extern CSA_sint32 showtime_set P((Dtcm_appointment *));
|
||||
extern int max P((int, int));
|
||||
extern int min P((int, int));
|
||||
extern int parse_date P((OrderingType, SeparatorType, char*, char*, char*, char*));
|
||||
extern int blank_buf (char*);
|
||||
extern int embedded_blank(char*);
|
||||
extern char * ckalloc(unsigned int size);
|
||||
extern char * cm_def_printer(void);
|
||||
extern char * cm_get_credentials(void);
|
||||
extern char * cm_get_local_domain(void);
|
||||
extern char * cm_get_local_host(void);
|
||||
extern char * cm_get_uname(void);
|
||||
extern char * cm_pqtarget(char*);
|
||||
extern char * cm_strcat(char*, char*);
|
||||
extern char * cm_strcpy(char*, char*);
|
||||
extern char * cm_strdup(char*);
|
||||
extern int cm_strlen(char*);
|
||||
extern char * cm_target2domain(char*);
|
||||
extern char * cm_target2host (char*);
|
||||
extern char * cm_target2location(char*);
|
||||
extern char * cm_target2name (char*);
|
||||
extern char * cr_to_str(char*);
|
||||
extern void destroy_lines(Lines*);
|
||||
extern void expand_esc_chars(char*);
|
||||
extern char * get_head(char*, char);
|
||||
extern char * get_tail(char*, char);
|
||||
extern void print_tick(time_t);
|
||||
extern boolean_t same_path(char*, char*);
|
||||
extern boolean_t same_user(char*, char*);
|
||||
extern char * str_to_cr(char*);
|
||||
extern char * strncat(char *, const char *, size_t n);
|
||||
extern char * substr(char*, int, int n);
|
||||
extern void syserr(char*, int, int, int);
|
||||
extern Lines * text_to_lines (char*, int);
|
||||
extern int get_data_version(CSA_session_handle);
|
||||
extern int get_server_version(CSA_session_handle);
|
||||
extern CSA_sint32 privacy_set(Dtcm_appointment *);
|
||||
extern CSA_sint32 showtime_set(Dtcm_appointment *);
|
||||
extern int max(int, int);
|
||||
extern int min(int, int);
|
||||
extern int parse_date(OrderingType, SeparatorType, char*, char*, char*, char*);
|
||||
|
||||
extern int datestr2mdy P((char*, OrderingType, SeparatorType, char*));
|
||||
extern void format_tick P((time_t, OrderingType, SeparatorType, char*));
|
||||
extern void format_time P((Tick, DisplayType, char*));
|
||||
extern int datestr2mdy(char*, OrderingType, SeparatorType, char*);
|
||||
extern void format_tick(time_t, OrderingType, SeparatorType, char*);
|
||||
extern void format_time(Tick, DisplayType, char*);
|
||||
|
||||
/*
|
||||
* In Motif you can't associate user data with items in a list. To get around
|
||||
@@ -303,12 +302,12 @@ typedef struct _CmDataList {
|
||||
int count;
|
||||
} CmDataList;
|
||||
|
||||
extern CmDataList *CmDataListCreate P((void));
|
||||
extern void CmDataListDestroy P((CmDataList *, int));
|
||||
extern int CmDataListAdd P((CmDataList *, void *, int));
|
||||
extern void *CmDataListGetData P((CmDataList *, int));
|
||||
extern void *CmDataListDeletePos P((CmDataList *, int, int));
|
||||
extern void CmDataListDeleteAll P((CmDataList *, int));
|
||||
extern CmDataList * CmDataListCreate(void);
|
||||
extern void CmDataListDestroy(CmDataList *, int);
|
||||
extern int CmDataListAdd(CmDataList *, void *, int);
|
||||
extern void * CmDataListGetData(CmDataList *, int);
|
||||
extern void * CmDataListDeletePos(CmDataList *, int, int);
|
||||
extern void CmDataListDeleteAll(CmDataList *, int);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user