]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/file.h
Remove bdb env on exit
[netatalk.git] / etc / papd / file.h
index c5fb435c3e43c337b2be80ce10c8c6a4e137e5d2..9f1f52d93ead1126bb1752b0805b49786904a6f5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: file.h,v 1.6 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: file.h,v 1.8 2009-10-13 22:55:37 didg Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -17,11 +17,14 @@ struct papfile {
     int                        pf_datalen;
     char               *pf_buf;
     char               *pf_data;
+    int                origin;
 };
 
 #define PF_BOT         (1<<0)
 #define PF_EOF         (1<<1)
 #define PF_QUERY       (1<<2)
+#define PF_STW         (1<<3)
+#define PF_TRANSLATE   (1<<4)
 
 #define CONSUME( pf, len )  {   (pf)->pf_data += (len); \
                                (pf)->pf_datalen -= (len); \
@@ -33,9 +36,9 @@ struct papfile {
 
 #define PF_MORESPACE   1024
 
-int markline __P(( struct papfile *, char **, int *, int * ));
-void morespace __P(( struct papfile *, const char *, int ));
-void append __P(( struct papfile *, const char *, int ));
-void spoolerror __P(( struct papfile *, char * ));
+int markline ( struct papfile *, char **, int *, int * );
+void morespace ( struct papfile *, const char *, int );
+void append ( struct papfile *, const char *, int );
+void spoolerror ( struct papfile *, char * );
 
 #endif /* PAPD_FILE_H */