/*
* 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 <unistd.h>
#include <stdarg.h>
#include <string.h>
#include <syslog.h>
#include <ns.h>
#include <list.h>
extern void ns_kvp_destroy(ns_kvp_t *);
/*
* Commonly Used routines...
*/
/*
* FUNCTION:
* printer_create(char *name, char **aliases, char *source,
* ns_kvp_t **attributes)
* INPUT(S):
* char *name
* - primary name of printer
* char **aliases
* - aliases for printer
* char *source
* - name service derived from
* ks_kvp_t **attributes
* OUTPUT(S):
* ns_printer_t * (return value)
* - pointer to printer object structure
* DESCRIPTION:
*/
{
}
return (printer);
}
static int
{
}
/*
* FUNCTION:
* ns_printer_match_name(const ns_printer_t *printer, const char *name)
* INPUT(S):
* const ns_printer_t *printer
* const char *key
* - key for matching
* OUTPUT(S):
* int (return value)
* - 0 if matched
* DESCRIPTION:
*/
int
{
return (-1);
return (0);
return (-1);
}
static void
{
return;
}
/*
* FUNCTION:
* char *ns_printer_name_list(const ns_printer_t *printer)
* INPUT:
* const ns_printer_t *printer - printer object to generate list from
* OUTPUT:
* char * (return) - a newly allocated string containing the names of
* the printer
*/
char *
{
return (NULL);
return (NULL);
}
}