/*
+ * $Id: headers.c,v 1.7.2.1 2002-03-12 15:44:38 srittau Exp $
+ *
* Copyright (c) 1990,1994 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
*/
-#include <sys/syslog.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#include <syslog.h>
#include <sys/param.h>
#include <stdio.h>
+#include <netatalk/at.h>
+
#include "file.h"
#include "comment.h"
+#include "lp.h"
+
+int ch_title( struct papfile *, struct papfile * );
-ch_title( in, out )
+int ch_title( in, out )
struct papfile *in, *out;
{
char *start, *stop, *p, *q, c;
int linelength, crlflength;
- struct 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 },
};