]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/file.h
- merge branch-netatalk-afp-3x-dev, HEAD was tagged before
[netatalk.git] / etc / papd / file.h
index b7f4aeb025eb4a0840be1f634e94dcdbd3f6e694..a1e2c060dc406161c78dbeb06eb539ea64777e42 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * $Id: file.h,v 1.7 2005-04-28 20:49:49 bfernhomberg Exp $
+ *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
@@ -6,6 +8,8 @@
 #ifndef PAPD_FILE_H
 #define PAPD_FILE_H 1
 
+#include <sys/cdefs.h>
+
 struct papfile {
     int                        pf_state;
     struct state       *pf_xstate;
@@ -13,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); \
@@ -30,7 +37,7 @@ struct papfile {
 #define PF_MORESPACE   1024
 
 int markline __P(( struct papfile *, char **, int *, int * ));
-void morespace __P(( struct papfile *, char *, int ));
+void morespace __P(( struct papfile *, const char *, int ));
 void append __P(( struct papfile *, const char *, int ));
 void spoolerror __P(( struct papfile *, char * ));