Changeset eb522e8 in mainline for uspace/lib/c/include/net/packet.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/net/packet.h
r9e2e715 reb522e8 46 46 * @see packet 47 47 */ 48 typedef struct packet * packet_t; 49 50 /** Type definition of the packet pointer. 51 * @see packet 52 */ 53 typedef packet_t * packet_ref; 48 typedef struct packet packet_t; 54 49 55 50 /** Type definition of the packet dimension. … … 57 52 */ 58 53 typedef struct packet_dimension packet_dimension_t; 59 60 /** Type definition of the packet dimension pointer.61 * @see packet_dimension62 */63 typedef packet_dimension_t * packet_dimension_ref;64 54 65 55 /** Packet dimension. */ … … 79 69 /*@{*/ 80 70 81 extern packet_t pm_find(packet_id_t);82 extern int pm_add(packet_t );71 extern packet_t *pm_find(packet_id_t); 72 extern int pm_add(packet_t *); 83 73 extern int pm_init(void); 84 74 extern void pm_destroy(void); 85 75 86 extern int pq_add(packet_t * , packet_t, size_t, size_t);87 extern packet_t pq_find(packet_t, size_t);88 extern int pq_insert_after(packet_t , packet_t);89 extern packet_t pq_detach(packet_t);90 extern int pq_set_order(packet_t , size_t, size_t);91 extern int pq_get_order(packet_t , size_t *, size_t *);92 extern void pq_destroy(packet_t , void (*)(packet_t));93 extern packet_t pq_next(packet_t);94 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 *); 95 85 96 86 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.