/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* LINTLIBRARY */
#include <stdio.h>
#include <strings.h>
#include <libintl.h>
#include "com_sun_admin_pm_server_DoPrinterNS.h"
extern char glob_stdout[];
extern char glob_stderr[];
extern int _dorexec(
const char *host,
const char *user,
const char *passwd,
const char *cmd,
const char *locale);
extern int _updateoldyp(
const char *action,
const char *printername,
const char *printserver,
const char *extensions,
const char *comment,
const char *isdefault);
extern int _updateldap(
const char *action,
const char *host,
const char *user,
const char *passwd,
const char *printername,
const char *printserver,
const char *extensions,
const char *comment,
const char *isdefault);
{
const char *host;
const char *user;
const char *passwd;
const char *cmd;
const char *locale;
int ret = 0;
if (ret != 0) {
(void) set_stderr(env);
return (ret);
}
(void) set_stderr(env);
(void) set_stdout(env);
return (ret);
}
{
return (glob_jstderr);
}
{
return (glob_jstdout);
}
void
{
if (*glob_stderr == '\0') {
} else {
}
if (glob_jstderr != NULL) {
}
}
void
{
if (*glob_stdout == '\0') {
} else {
}
if (glob_jstdout != NULL) {
}
}
{
int ret = 0;
if (jprintserver != NULL) {
}
if (jextensions != NULL) {
}
comment =
}
if (ret != 0) {
(void) set_stderr(env);
return (ret);
}
(void) set_stderr(env);
(void) set_stdout(env);
return (ret);
}
{
int ret = 0;
}
}
}
if (jprintserver != NULL) {
}
if (jextensions != NULL) {
}
comment =
}
if (ret != 0) {
(void) set_stderr(env);
return (ret);
}
(void) set_stderr(env);
(void) set_stdout(env);
return (ret);
}