static char *rcsid
= "$Header: /f/osi/others/quipu/uips/pod/RCS/main.c,v 7.2 91/02/22 09:31:34 mrose Interim $";
* $Header: /f/osi/others/quipu/uips/pod/RCS/main.c,v 7.2 91/02/22 09:31:34 mrose Interim $
#include "quipu/common.h"
extern int print_parse_errors
;
extern char *oidtable
, *tailfile
, *myname
;
extern char namestr
[], passwd
[];
int podphoto(), quipu_pe_cmp();
void CreateWidgets(), PodLoop(), displayStartupError();
void kill_message(), message();
void read_args(), quit();
print_parse_errors
= FALSE
;
toplevel
= XtInitialize("X-Directory", "Pod", NULL
, 0,
dsap_init((int *) 0, &argv
);
message("Connecting to Directory. Please Wait...");
if ((mess
= cnnct_bind()) != NULLCP
) {
displayStartupError(mess
);
set_attribute_syntax (str2syntax("photo"),
(IFP
)pe_cpy
, quipu_pe_cmp
,
void read_args(acptr
, avptr
)
if (acptr
== (unsigned int *) NULL
) return;
while ((cp
= *av
) && (*cp
== '-')) {
if (*++av
!= NULLCP
) (void) strcpy(namestr
, *av
);
if (*++av
!= NULLCP
) (void) strcpy(passwd
, *av
);
if (*++av
!= NULLCP
) oidtable
= *av
;
if (*++av
!= NULLCP
) myname
= *av
;
if (lexequ(*av
, "-test") != 0) {
if (*++av
!= NULLCP
) tailfile
= *av
;
(void) _ll_log (log_dsap
, code
, ap
);