]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/afp.h
New option parsing
[netatalk.git] / include / atalk / afp.h
index 1681c23aecc35a54c6975d5d77e3a234c49b45d8..76315aa41acd661b4e7b8b6c8dc454496ce6b38c 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef _ATALK_AFP_H
 #define _ATALK_AFP_H 1
 
+#include <stdint.h>
 #include <sys/types.h>
 
 typedef uint16_t AFPUserBytes;
@@ -32,15 +33,6 @@ typedef uint16_t AFPUserBytes;
 #define AFPPROTO_ASP           1
 #define AFPPROTO_DSI           2
 
-/* actual transports. the DSI ones (tcp right now) need to be
- * kept in sync w/ <atalk/dsi.h>. 
- * convention: AFPTRANS_* = (1 << DSI_*) 
- */
-#define AFPTRANS_NONE          0
-#define AFPTRANS_DDP          (1 << 0)
-#define AFPTRANS_TCP          (1 << 1)
-#define AFPTRANS_ALL          (AFPTRANS_DDP | AFPTRANS_TCP)
-
 /* server flags */
 #define AFPSRVRINFO_COPY         (1<<0)  /* supports copyfile */
 #define AFPSRVRINFO_PASSWD       (1<<1)  /* supports change password */