Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / rom / usb / classes / ethwrap / ethwrap.class.h
blob281d093501eee10bc7b4367744cd9aba8ea0617a
1 #ifndef ETHWRAP_CLASS_H
2 #define ETHWRAP_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for ethwrap class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <devices/sana2.h>
14 #include <devices/sana2specialstats.h>
15 #include <libraries/gadtools.h>
17 #include <devices/newstyle.h>
19 #include <string.h>
20 #include <stddef.h>
21 #include <stdio.h>
23 #include "ethwrap.h"
24 #include "dev.h"
26 /* Protos */
28 struct NepClassEth * usbAttemptDeviceBinding(struct NepEthBase *nh, struct PsdDevice *pd);
29 struct NepClassEth * usbForceDeviceBinding(struct NepEthBase *nh, struct PsdDevice *pd);
30 void usbReleaseDeviceBinding(struct NepEthBase *nh, struct NepClassEth *ncp);
32 struct NepClassEth * nAllocEth(void);
33 void nFreeEth(struct NepClassEth *ncp);
35 void nSetOnline(struct NepClassEth *ncp);
37 void nDoEvent(struct NepClassEth *ncp, ULONG events);
38 BOOL nWritePacket(struct NepClassEth *ncp, struct IOSana2Req *ioreq);
39 BOOL nReadPacket(struct NepClassEth *ncp, UBYTE *pktptr, ULONG len);
41 BOOL nLoadClassConfig(struct NepEthBase *nh);
42 BOOL nLoadBindingConfig(struct NepClassEth *ncp);
43 LONG nOpenBindingCfgWindow(struct NepEthBase *nh, struct NepClassEth *ncp);
45 void nGUITaskCleanup(struct NepClassEth *nh);
47 AROS_UFP0(void, nEthTask);
48 AROS_UFP0(void, nGUITask);
50 #endif /* ETHWRAP_CLASS_H */