Changeset View
Changeset View
Standalone View
Standalone View
sbin/ggate/shared/ggate.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
#define G_GATE_TIMEOUT 0 | #define G_GATE_TIMEOUT 0 | ||||
#define GGATE_MAGIC "GEOM_GATE " | #define GGATE_MAGIC "GEOM_GATE " | ||||
#define GGATE_VERSION 0 | #define GGATE_VERSION 0 | ||||
#define GGATE_FLAG_RDONLY 0x0001 | #define GGATE_FLAG_RDONLY 0x0001 | ||||
#define GGATE_FLAG_WRONLY 0x0002 | #define GGATE_FLAG_WRONLY 0x0002 | ||||
/* | /* | ||||
* If GGATE_FLAG_SEND not GGATE_FLAG_RECV flag is set, this is initial | * If GGATE_FLAG_SEND nor GGATE_FLAG_RECV flag is set, this is initial | ||||
imp: "If neither the GGATE_FLAG_SEND nor the GGATE_FLAG_RECV flags are set, this is the initial… | |||||
impUnsubmitted Not Done Inline Actions"If neither the GGATE_FLAG_SEND nor the GGATE_FLAG_RECV flag is set, this is the initial connection." My former english professor wife says it should be singular. imp: "If neither the GGATE_FLAG_SEND nor the GGATE_FLAG_RECV flag is set, this is the initial… | |||||
* connection. | * connection. | ||||
* If GGATE_FLAG_SEND flag is set - this is socket to send data. | * If GGATE_FLAG_SEND flag is set - this is socket to send data. | ||||
* If GGATE_FLAG_RECV flag is set - this is socket to receive data. | * If GGATE_FLAG_RECV flag is set - this is socket to receive data. | ||||
*/ | */ | ||||
#define GGATE_FLAG_SEND 0x0004 | #define GGATE_FLAG_SEND 0x0004 | ||||
#define GGATE_FLAG_RECV 0x0008 | #define GGATE_FLAG_RECV 0x0008 | ||||
#define GGATE_CMD_READ 0 | #define GGATE_CMD_READ 0 | ||||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |
"If neither the GGATE_FLAG_SEND nor the GGATE_FLAG_RECV flags are set, this is the initial connection."
is how I'd write this sentence....