Changeset 46d4d9f in mainline for uspace/lib/c/include/net/packet.h
- Timestamp:
- 2010-11-20T17:04:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd5046dd
- Parents:
- fdbc3ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/lib/c/include/net/packet.h ¶
rfdbc3ff r46d4d9f 46 46 * @see packet 47 47 */ 48 typedef struct packet *packet_t;48 typedef struct packet packet_t; 49 49 50 50 /** Type definition of the packet dimension. … … 69 69 /*@{*/ 70 70 71 extern packet_t pm_find(packet_id_t);72 extern int pm_add(packet_t );71 extern packet_t *pm_find(packet_id_t); 72 extern int pm_add(packet_t *); 73 73 extern int pm_init(void); 74 74 extern void pm_destroy(void); 75 75 76 extern int pq_add(packet_t * , packet_t, size_t, size_t);77 extern packet_t pq_find(packet_t, size_t);78 extern int pq_insert_after(packet_t , packet_t);79 extern packet_t pq_detach(packet_t);80 extern int pq_set_order(packet_t , size_t, size_t);81 extern int pq_get_order(packet_t , size_t *, size_t *);82 extern void pq_destroy(packet_t , void (*)(packet_t));83 extern packet_t pq_next(packet_t);84 extern packet_t pq_previous(packet_t);76 extern int pq_add(packet_t **, packet_t *, size_t, size_t); 77 extern packet_t *pq_find(packet_t *, size_t); 78 extern int pq_insert_after(packet_t *, packet_t *); 79 extern packet_t *pq_detach(packet_t *); 80 extern int pq_set_order(packet_t *, size_t, size_t); 81 extern int pq_get_order(packet_t *, size_t *, size_t *); 82 extern void pq_destroy(packet_t *, void (*)(packet_t *)); 83 extern packet_t *pq_next(packet_t *); 84 extern packet_t *pq_previous(packet_t *); 85 85 86 86 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.