/*
* 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.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#pragma ident "%Z%%M% %I% %E% SMI"
/* EMACS_MODES: !fill, lnumb, !overwrite, !nodelete, !picture */
#include "string.h"
#include "errno.h"
#include "stdlib.h"
#include "lp.h"
#include "printers.h"
/**
** getpwheel() - GET PRINT WHEEL INFO FROM DISK
**/
PWHEEL *
#if defined(__STDC__)
char * name
)
#else
char *name;
#endif
{
return (0);
}
/*
* Getting ``all''? If so, jump into the directory
* wherever we left off.
*/
return (0);
} else
lastdir = -1;
/*
* Get the information for the alert.
*/
/*
* Unless the world has turned weird, we shouldn't
* get ENOTDIR if we're doing the ``all'' case--because
* getting here in the all case meant the printwheel
* directory exists, but ENOTDIR means it doesn't!
*/
return (0);
}
return (pwp);
}
/**
** putpwheel() - PUT PRINT WHEEL INFO TO DISK
**/
int
#if defined(__STDC__)
char * name,
)
#else
char *name;
#endif
{
register char *path;
return (-1);
}
return (-1);
}
/*
* Create the parent directory for this printer
* if it doesn't yet exist.
*/
return (-1);
return (-1);
}
return (-1);
}
/*
* Now write out the alert condition.
*/
return (-1);
return (0);
}
/**
** delpwheel() - DELETE PRINT WHEEL INFO FROM DISK
**/
#if defined(__STDC__)
static int _delpwheel ( char * );
#else
static int _delpwheel();
#endif
int
#if defined(__STDC__)
char * name
)
#else
char *name;
#endif
{
long lastdir;
return (-1);
}
lastdir = -1;
return (-1);
return (0);
} else
return (_delpwheel(name));
}
/**
** _delpwheel()
**/
static int
#if defined(__STDC__)
char * name
)
#else
char *name;
#endif
{
register char *path;
return (-1);
return (-1);
return (-1);
}
return (0);
}
/**
** freepwheel() - FREE MEMORY ALLOCATED FOR PRINT WHEEL STRUCTURE
**/
void
#if defined(__STDC__)
)
#else
#endif
{
if (!ppw)
return;
return;
}