Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/next/external/cache/sources/wl/shared/wlu_pipe.h
Views: 3959
/*1* OS independent declarations2*3* $Copyright (C) 2008 Broadcom Corporation$4*5* $Id: wlu_pipe.h 287128 2011-09-30 04:27:53Z estucki $6*/7#ifndef _wlu_pipe_h8#define _wlu_pipe_h910/* Function prototypes defined in wlu_pipe.c */1112/* Macros to access globals */13extern char *g_rwl_device_name_serial;14#define rwl_get_serial_port_name() (g_rwl_device_name_serial)15#define rwl_set_serial_port_name(name) (g_rwl_device_name_serial = name)16extern char *g_rwl_buf_mac;17#define rwl_get_wifi_mac() (g_rwl_buf_mac)1819extern int remote_CDC_tx(void *wl, uint cmd, uchar *buf, uint buf_len,20uint data_len, uint flags, int debug);21extern rem_ioctl_t *remote_CDC_rx_hdr(void *remote, int debug);22extern int remote_CDC_rx(void *wl, rem_ioctl_t *rem_ptr, uchar *readbuf, uint buflen, int debug);2324extern void* rwl_open_pipe(int remote_type, char *port, int ReadTotalTimeout, int debug);25extern int rwl_close_pipe(int remote_type, void* hndle);2627#ifdef RWL_SOCKET28extern int rwl_sockconnect(int SockDes, struct sockaddr *servAddr, int size);29#endif /* RWL_SOCKET */3031extern int remote_CDC_DATA_wifi_rx_frag(void *wl, rem_ioctl_t *rem_ptr, uint input_len,32void *input, bool shell);33extern int remote_CDC_DATA_wifi_rx(void *wl, struct dot11_action_wifi_vendor_specific *rec_frame);34extern int35remote_CDC_wifi_tx(void *wl, uint cmd, uchar *buf, uint buf_len, uint data_len, uint flags);36extern void rwl_wifi_server_response(void *wl, struct dot11_action_wifi_vendor_specific *rec_frame);37extern int rwl_find_remote_wifi_server(void *wl, char *id);38extern void rwl_wifi_purge_actionframes(void *wl);39extern void rwl_wifi_swap_remote_type(int flag);40extern void remote_wifi_ser_init_cmds(void *wl);41#endif /* _wlu_pipe_h */424344