HaikuDepot: notify work status from main window
[haiku.git] / src / libs / compat / freebsd_network / unit.h
bloba97567511262fb023059a39d045994ee6b11e300
1 /*
2 * Copyright 2009 Colin Günther, coling@gmx.de
3 * All Rights Reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef UNIT_H_
6 #define UNIT_H_
9 #include <compat/sys/systm.h>
12 struct radix_bitmap;
13 struct unrhdr {
14 struct radix_bitmap* idBuffer;
15 struct mtx* storeMutex;
16 int32 idBias;
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 status_t _new_unrhdr_buffer(struct unrhdr*, uint32);
25 void _delete_unrhdr_buffer_locked(struct unrhdr*);
26 int _alloc_unr_locked(struct unrhdr*);
27 void _free_unr_locked(struct unrhdr*, u_int);
29 #ifdef __cplusplus
31 #endif
33 #endif /* UNIT_H_ */