info[PRN_RM] = strdup("[ANY]");
info[PRN_RP] = strdup(name);
info[PRN_RQ] = strdup("[NONE]");
- info[PRN_KA] = strdup("1");
+ info[PRN_KA] = strdup("0");
info[PRN_PC] = strdup("10");
info[PRN_AC] = strdup("[none]");
info[PRN_LPC_ACL] = strdup("[none]");
{
char temp_buf[BUFSIZ];
char *args[3], *lpc_acl;
- char *s, *d;
int status;
Put_message("");
}
top = QueueTop(elem);
- Loop(top, (void *) PrintPrintSrvInfo);
+ Loop(top, (void (*)(char **)) PrintPrintSrvInfo);
FreeQueue(top); /* clean the queue. */
return DM_NORMAL;
}
static char *PrintPrintSrvInfo(char **info)
{
char buf[BUFSIZ];
- int status;
if (!info) /* If no informaion */
{
static char **AskPrintSrvInfo(char **info)
{
char buf[BUFSIZ];
- char *args[3], *lpc_acl;
- char *s, *d;
- int status;
Put_message("");
sprintf(buf, "Print Server entry for %s.", info[PRINTSERVER_HOST]);
int ChangePrintSrv(int argc, char **argv)
{
- char *name, **args;
+ char *name;
struct mqelem *elem = NULL;
int stat;