- Extended sicshdbadapter to attach a node to the target of any
drivable. Required a new event in devexec.c - Fixed the phytron driver to handle speed well - Added a protocol driver for the TCP/IP bridge to the SLS magnets SKIPPED: psi/make_gen psi/phytron.c psi/psi.c psi/slsecho.c psi/sps.c
This commit is contained in:
12
protocol.c
12
protocol.c
@@ -22,7 +22,7 @@
|
||||
#define INIT_STR_SIZE 256
|
||||
#define STR_RESIZE_LENGTH 256
|
||||
#define NUMPROS 7
|
||||
#define PROLISTLEN 7
|
||||
#define PROLISTLEN 8
|
||||
typedef struct __Protocol {
|
||||
pObjectDescriptor pDes; /* required as first field */
|
||||
char *name; /* protocol handler name */
|
||||
@@ -73,16 +73,6 @@ char *pStatus[] = {
|
||||
|
||||
typedef struct __Protocol *pProtocol;
|
||||
|
||||
/* alternate implementation of protocol list if data hiding in
|
||||
* Protocol struct via CreateProtocol does not work
|
||||
* static char *pPros[] = {
|
||||
* "default",
|
||||
* "outcodes",
|
||||
* "sycamore"
|
||||
* NULL };
|
||||
* static int iNumPros = 3
|
||||
*/
|
||||
|
||||
pProtocol CreateProtocol(void);
|
||||
static int ProtocolOptions(SConnection * pCon, pProtocol pPro);
|
||||
static int ProtocolHelp(SConnection * pCon, Protocol * pPro);
|
||||
|
||||
Reference in New Issue
Block a user