X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fpapd%2Fqueries.c;h=01a7d3ba75eca85dc1cfd6761036dbe5c67bbecf;hb=644c7d4f1a295df818a7f8339ac750821e7c26dc;hp=74a4fc97c0c07a46819620d4b85bef1b2932ef6e;hpb=2fe5085b11511198a18aac9cb879b16f4f1d703d;p=netatalk.git diff --git a/etc/papd/queries.c b/etc/papd/queries.c index 74a4fc97..01a7d3ba 100644 --- a/etc/papd/queries.c +++ b/etc/papd/queries.c @@ -1,11 +1,13 @@ /* + * $Id: queries.c,v 1.7 2001-06-25 20:13:45 rufustfirefly Exp $ + * * Copyright (c) 1990,1994 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ #ifdef HAVE_CONFIG_H #include "config.h" -#endif +#endif /* HAVE_CONFIG_H */ #include #include @@ -20,10 +22,10 @@ #ifdef KRB #ifdef SOLARIS #include -#else +#else /* SOLARIS */ #include -#endif -#endif KRB +#endif /* SOLARIS */ +#endif /* KRB */ #include "file.h" #include "comment.h" @@ -198,7 +200,7 @@ int cq_uameth( in, out ) CONSUME( in, linelength + crlflength ); } } -#endif KRB +#endif /* KRB */ int gq_true( out ) struct papfile *out; @@ -223,7 +225,7 @@ int gq_pagecost( out ) } else if ( printer->p_flags & P_ACCOUNT ) { #ifdef ABS_PRINT lp_pagecost(); -#endif ABS_PRINT +#endif /* ABS_PRINT */ sprintf( cost, "%d", printer->p_pagecost ); append( out, cost, strlen( cost )); } else { @@ -246,7 +248,7 @@ int gq_balance( out ) append( out, balance, strlen( balance )); return( 0 ); } -#endif ABS_PRINT +#endif /* ABS_PRINT */ /* @@ -297,7 +299,7 @@ struct genquery { { "UMICHCostPerPage", gq_pagecost }, #ifdef notdef { "UMICHUserBalance", gq_balance }, -#endif +#endif /* notdef */ { "RBISpoolerID", gq_rbispoolerid }, { "RBIUAMListQuery", gq_rbiuamlist }, { "UMICHListQueue", gq_true },