test.c revision 0a44ef6d9afbfe052a7e975f55ea0d2954b62a82
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <syslog.h>
#include <ns.h>
static void
log_printf(char *fmt, ...)
{
}
}
int
test_spooler_available(const char *printer)
{
int rc = 0;
char *tmp;
return (-1);
printer_object)) != NULL) &&
rc = -1;
log_printf("test_spooler_available(%s): "
"test-spooler-available = %s (%d)\n",
return (rc);
}
int
test_spooler_accepting_jobs(const char *printer)
{
int rc = 0;
char *tmp;
rc = -1;
"test_spooler_accepting_jobs(%s): test-accepting = %s (%d)\n",
return (rc);
}
int
{
int rc = 0;
char *tmp;
rc = -1;
log_printf("test_client_access(%s, %s): test-access = %s (%d)\n",
return (rc);
}
char *
{
char *tmp;
log_printf("test_temp_dir(%s, %s): test-dir = %s\n",
return (tmp);
}
int
test_restart_printer(const char *printer)
{
int rc = 0;
char *tmp;
rc = -1;
log_printf("test_restart_printer(%s): test-restart = %s (%d)\n",
return (rc);
}
int
char **df_list)
{
char *tmp;
return (-1);
df_list[0][0] = 'c';
}
df_list[0][0] = 'c';
log_printf("test_submit_job(%s, %s): test-submit = %s\n",
df_list[0][0] = 'd';
return (0);
}
int
const char **list)
{
printer_object)) != NULL) &&
char buf[1024];
} else
log_printf("test_show_queue(%s, 0x%x, %s):\n",
return (0);
}
int
{
!= NULL)
char buf[1024];
}
}
log_printf("test_cancel_job(%s, 0x%x, %s, %s):\n",
return (0);
}