CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/cache/sources/wl/dhd/dhdu_cmd.h
Views: 3960
1
/*
2
* Command structure for dhd command line utility, copied from wl utility
3
*
4
* $Copyright Open Broadcom Corporation$
5
*
6
* $Id: dhdu_cmd.h 241182 2011-02-17 21:50:03Z $
7
*/
8
9
#ifndef _dhdu_cmd_h_
10
#define _dhdu_cmd_h_
11
12
typedef struct cmd cmd_t;
13
typedef int (cmd_func_t)(void *dhd, cmd_t *cmd, char **argv);
14
15
/* generic command line argument handler */
16
struct cmd {
17
char *name;
18
cmd_func_t *func;
19
int get;
20
int set;
21
char *help;
22
};
23
24
/* list of command line arguments */
25
extern cmd_t dhd_cmds[];
26
extern cmd_t dhd_varcmd;
27
28
/* Special set cmds to do download via dev node interface if present */
29
#define DHD_DLDN_ST 0x400
30
#define DHD_DLDN_WRITE (DHD_DLDN_ST + 1)
31
#define DHD_DLDN_END (DHD_DLDN_ST + 2)
32
33
/* per-port ioctl handlers */
34
extern int dhd_get(void *dhd, int cmd, void *buf, int len);
35
extern int dhd_set(void *dhd, int cmd, void *buf, int len);
36
37
#endif /* _dhdu_cmd_h_ */
38
39