64:c7f5b062e622 | 65:14722c5f8856 |
---|---|
544 * Description: | 544 * Description: |
545 * | 545 * |
546 * This structure is used to pass arguments to the net_writev() | 546 * This structure is used to pass arguments to the net_writev() |
547 * and FilterWritevFunc() functions. | 547 * and FilterWritevFunc() functions. |
548 */ | 548 */ |
549 #ifdef _LP64 | 549 typedef struct iovec NSAPIIOVec; |
550 | |
551 /* | |
552 //ifdef _LP64 | |
550 typedef struct NSAPIIOVec NSAPIIOVec; | 553 typedef struct NSAPIIOVec NSAPIIOVec; |
551 struct NSAPIIOVec { | 554 struct NSAPIIOVec { |
552 char *iov_base; | 555 char *iov_base; |
553 int iov_len; | 556 int iov_len; |
554 }; | 557 }; |
555 #else | 558 //else |
556 typedef struct iovec NSAPIIOVec; | 559 typedef struct iovec NSAPIIOVec; |
557 #endif /* _LP64 */ | 560 //endif |
561 */ | |
558 | 562 |
559 | 563 |
560 /* | 564 /* |
561 * Type: cinfo | 565 * Type: cinfo |
562 * | 566 * |
1257 | 1261 |
1258 //NSAPI_PUBLIC pb_param *pblock_kninsert(const pb_key *key, int value, pblock *pb); | 1262 //NSAPI_PUBLIC pb_param *pblock_kninsert(const pb_key *key, int value, pblock *pb); |
1259 | 1263 |
1260 //NSAPI_PUBLIC pb_param *pblock_kllinsert(const pb_key *key, PRInt64 value, pblock *pb); | 1264 //NSAPI_PUBLIC pb_param *pblock_kllinsert(const pb_key *key, PRInt64 value, pblock *pb); |
1261 | 1265 |
1266 #define pblock_remove(name, pb) (pblock_fr(name,pb,1)) | |
1267 | |
1262 #define param_create INTparam_create | 1268 #define param_create INTparam_create |
1263 #define param_free INTparam_free | 1269 #define param_free INTparam_free |
1264 #define pblock_create INTpblock_create | 1270 #define pblock_create INTpblock_create |
1265 #define pblock_free INTpblock_free | 1271 #define pblock_free INTpblock_free |
1266 #define pblock_findval INTpblock_findval | 1272 #define pblock_findval INTpblock_findval |