}
compush( comment )
- struct comment *comment;
+ struct papd_comment *comment;
{
struct comstate *cs;
}
comswitch( comments, handler )
- struct comment *comments;
+ struct papd_comment *comments;
int (*handler)();
{
- struct comment *c, *comment = NULL;
+ struct papd_comment *c, *comment = NULL;
for ( c = comments; c->c_begin; c++ ) {
if ( c->c_handler == handler ) {
return( 1 );
}
- struct comment *
+ struct papd_comment *
commatch( start, stop, comments )
char *start, *stop;
- struct comment comments[];
+ struct papd_comment comments[];
{
- struct comment *comment;
+ struct papd_comment *comment;
for ( comment = comments; comment->c_begin; comment++ ) {
if ( comcmp( start, stop, comment->c_begin, comment->c_flags ) == 0 ) {
* All Rights Reserved. See COPYRIGHT.
*/
-struct comment {
+struct papd_comment {
char *c_begin;
char *c_end;
int (*c_handler)();
#define CH_ERROR -1
struct comstate {
- struct comment *cs_comment;
+ struct papd_comment *cs_comment;
struct comstate *cs_prev;
int cs_flags;
};
-extern struct comment *commatch();
-extern struct comstate *comstate;
-extern struct comment magics[];
-extern struct comment queries[];
-extern struct comment headers[];
-extern char *comcont;
+extern struct papd_comment *commatch();
+extern struct comstate *comstate;
+extern struct papd_comment magics[];
+extern struct papd_comment queries[];
+extern struct papd_comment headers[];
+extern char *comcont;
#define compeek() (comstate==NULL?NULL:(comstate->cs_comment))
#define comgetflags() (comstate->cs_flags)
{
char *start, *stop, *p, *q, c;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
switch ( markline( in, &start, &linelength, &crlflength )) {
case 0 :
/*
* "Header" comments.
*/
-struct comment headers[] = {
+struct papd_comment headers[] = {
{ "%%Title:", 0, ch_title, 0 },
{ 0 },
};
{
char *start;
int linelength, crlflength;
- struct comment *comment;
+ struct papd_comment *comment;
for (;;) {
if ( comment = compeek()) {
struct papfile *in, *out;
struct sockaddr_at *sat;
{
- struct comment *comment;
+ struct papd_comment *comment;
char *start;
int linelength, crlflength;
{
char *start, *stop, *p;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
switch ( markline( in, &start, &linelength, &crlflength )) {
case 0 :
return( CH_DONE );
}
-struct comment magics[] = {
+struct papd_comment magics[] = {
{ "%!PS-Adobe-3.0 Query", 0, cm_psquery, C_FULL },
{ "%!PS-Adobe-3.0", 0, cm_psadobe, C_FULL },
{ "%!PS-Adobe-", 0, cm_psswitch, 0 },
{
char *start, *stop, *p;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
for (;;) {
switch ( markline( in, &start, &linelength, &crlflength )) {
char *start, *p;
int linelength, crlflength;
unsigned char *t;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
KTEXT_ST tkt;
AUTH_DAT ad;
int rc, i;
{
char *start;
int linelength, crlflength;
- struct comment *c, *comment = compeek();
+ struct papd_comment *c, *comment = compeek();
for (;;) {
switch ( markline( in, &start, &linelength, &crlflength )) {
{
char *start, *stop, *p, *q;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
struct genquery *gq;
{
char *start, *stop, *p;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
for (;;) {
switch ( markline( in, &start, &linelength, &crlflength )) {
{
char *start, *stop, *p;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
struct ppd_feature *pfe;
for (;;) {
{
char *start, *p;
int linelength, crlflength;
- struct comment *comment = compeek();
+ struct papd_comment *comment = compeek();
struct ppd_feature *pdpsver, *pdprod;
for (;;) {
cq_rbilogin( in, out )
struct papfile *in, *out;
{
- char *start, *stop, *p, *begin;
- int linelength, crlflength;
- char username[9] = "\0";
- struct comment *comment = compeek();
- char uamtype[20] = "\0";
+ char *start, *stop, *p, *begin;
+ int linelength, crlflength;
+ char username[9] = "\0";
+ struct papd_comment *comment = compeek();
+ char uamtype[20] = "\0";
for (;;) {
switch ( markline( in, &start, &linelength, &crlflength )) {
* All queries start with %%?Begin and end with %%?End. Note that the
* "Begin"/"End" general queries have to be last.
*/
-struct comment queries[] = {
+struct papd_comment queries[] = {
#ifdef KRB
{ "%%Login: UMICHKerberosIV", 0, cq_k4login, 0 },
{ "%%?BeginUAMethodsQuery", "%%?EndUAMethodsQuery:", cq_uameth, C_FULL },