Merge branch 'master' of https://github.com/7u83/actube
FossilOrigin-Name: aff224493683489d870cb53658e133cd87353869442b45c151fa01e73be8ef5d
This commit is contained in:
commit
f261fc12fc
26
src/cw/cw.h
26
src/cw/cw.h
|
@ -7,6 +7,11 @@
|
||||||
|
|
||||||
#include "lw.h"
|
#include "lw.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup CW CW
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
extern int cw_read_wtp_descriptor(mbag_t mbag, struct conn *conn,
|
extern int cw_read_wtp_descriptor(mbag_t mbag, struct conn *conn,
|
||||||
struct cw_action_in *a, uint8_t * data, int len);
|
struct cw_action_in *a, uint8_t * data, int len);
|
||||||
|
|
||||||
|
@ -16,5 +21,26 @@ extern int cw_read_wtp_descriptor_7(mbag_t mbag, struct conn *conn,
|
||||||
extern int cw_read_wtp_descriptor_versions(mbag_t mbag, uint8_t * data,
|
extern int cw_read_wtp_descriptor_versions(mbag_t mbag, uint8_t * data,
|
||||||
int len);
|
int len);
|
||||||
|
|
||||||
|
/* Use some macros from LWAPP */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Put a byte to an output buffer.
|
||||||
|
* see #lw_put_byte
|
||||||
|
*/
|
||||||
|
#define cw_put_byte lw_put_byte
|
||||||
|
/**
|
||||||
|
* Put a word to an output buffee.
|
||||||
|
* see #lw_put_word
|
||||||
|
*/
|
||||||
|
#define cw_put_word lw_put_word
|
||||||
|
#define cw_put_dword lw_put_dword
|
||||||
|
#define cw_put_data lw_put_data
|
||||||
|
#define cw_put_bstr lw_put_bstr
|
||||||
|
#define cw_put_bstr16 lw_put_bstr16
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*@}
|
||||||
|
*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue