src/server/public/nsapi.h

changeset 65
14722c5f8856
parent 64
c7f5b062e622
child 66
74babc0082b7
--- a/src/server/public/nsapi.h	Wed May 22 13:27:31 2013 +0200
+++ b/src/server/public/nsapi.h	Wed May 22 15:05:06 2013 +0200
@@ -546,15 +546,19 @@
  *      This structure is used to pass arguments to the net_writev()
  *      and FilterWritevFunc() functions.  
  */
-#ifdef _LP64
+typedef struct iovec NSAPIIOVec;
+
+/*
+//ifdef _LP64
 typedef struct NSAPIIOVec NSAPIIOVec;
 struct NSAPIIOVec {
     char *iov_base;
     int iov_len;
 };
-#else
+//else
 typedef struct iovec NSAPIIOVec;
-#endif /* _LP64 */
+//endif
+*/
 
 
 /*
@@ -1259,6 +1263,8 @@
 
 //NSAPI_PUBLIC pb_param *pblock_kllinsert(const pb_key *key, PRInt64 value, pblock *pb);
 
+#define pblock_remove(name, pb) (pblock_fr(name,pb,1))
+
 #define param_create INTparam_create
 #define param_free INTparam_free
 #define pblock_create INTpblock_create

mercurial