added int parameter to close function
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
# Copyright SkySQL Ab 2013
|
# Copyright SkySQL Ab 2013
|
||||||
|
|
||||||
CC=cc
|
CC=cc
|
||||||
CFLAGS=-c -I../include
|
CFLAGS=-c -I/usr/include -I../include
|
||||||
SRCS= atomic.c buffer.c spinlock.c gateway.c gateway_mysql_protocol.c gw_utils.c utils.c
|
SRCS= atomic.c buffer.c spinlock.c gateway.c gateway_mysql_protocol.c gw_utils.c utils.c
|
||||||
OBJ=$(SRCS:.c=.o)
|
OBJ=$(SRCS:.c=.o)
|
||||||
LIBS=-lssl
|
LIBS=-lssl
|
||||||
|
|||||||
@ -55,7 +55,7 @@ typedef struct gw_protocol {
|
|||||||
int (*error)(struct dcb *, int);
|
int (*error)(struct dcb *, int);
|
||||||
int (*hangup)(struct dcb *, int);
|
int (*hangup)(struct dcb *, int);
|
||||||
int (*accept)(struct dcb *, int);
|
int (*accept)(struct dcb *, int);
|
||||||
int (*close)(struct dcb *);
|
int (*close)(struct dcb *, int);
|
||||||
} GWPROTOCOL;
|
} GWPROTOCOL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user