*** empty log message ***
This commit is contained in:
13
tecs/lsc.h
13
tecs/lsc.h
@@ -1,14 +1,11 @@
|
||||
#ifndef _LSC_H_
|
||||
#define _LSC_H_
|
||||
|
||||
#include "serutil.h"
|
||||
#define LSC_MAX_CMDS 5
|
||||
|
||||
int LscCmdChk(SerChannel *ser, char *cmds);
|
||||
int LscCmdChkC(SerChannel *ser, const char *cmds);
|
||||
char *LscCmd(SerChannel *ser, const char *cmds);
|
||||
/*
|
||||
send one or several commands and check it's parameters
|
||||
a colon must separate the parameters
|
||||
attention:
|
||||
in LscCmdChk, *cmds will be modified (more efficient)
|
||||
in LscCmdChkC, *cmds must not be longer than 127 chars
|
||||
*/
|
||||
|
||||
int LscEqPar(char *par, char *res);
|
||||
@@ -30,3 +27,5 @@ int LscNextCmd(SerChannel *ser, LscList clist);
|
||||
strip one line from LscList, and send it through LscCmdChk
|
||||
the list and the command buffers are freed when no longer used
|
||||
*/
|
||||
|
||||
#endif /* _LSC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user