diff options
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r-- | tbl_qcmd.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -66,6 +66,7 @@ typedef struct tble_qcmd int timestamp; //when command started to execute int state; //command execution state int timeout; //timeout time for command + char *ircident; //username,mask,host fam!~fam@localhost.localdomain char *cmd; //cmd name ALLOC char *param; //params ALLOC mqd_t out_q; //UNUSED @@ -81,12 +82,13 @@ typedef struct tble_qcmd #define TBL_PF_QCMD_TIMESTAMP 1<<3 #define TBL_PF_QCMD_STATE 1<<4 #define TBL_PF_QCMD_TIMEOUT 1<<5 -#define TBL_PF_QCMD_CMD 1<<6 -#define TBL_PF_QCMD_PARAM 1<<7 -#define TBL_PF_QCMD_OUT_Q 1<<8 -#define TBL_PF_QCMD_IN_Q 1<<9 -#define TBL_PF_QCMD_TID 1<<10 -#define TBL_PF_QCMD_TIDX 1<<11 +#define TBL_PF_QCMD_IRCIDENT 1<<6 +#define TBL_PF_QCMD_CMD 1<<7 +#define TBL_PF_QCMD_PARAM 1<<8 +#define TBL_PF_QCMD_OUT_Q 1<<9 +#define TBL_PF_QCMD_IN_Q 1<<10 +#define TBL_PF_QCMD_TID 1<<11 +#define TBL_PF_QCMD_TIDX 1<<12 #define TBL_PF_QCMD_ALL 0x0fffffff @@ -113,6 +115,7 @@ typedef struct tble_cmd_param int id; //uniq id for cmd_param int qid; //command id that created this param mqd_t out_q; + char *ircident; char *cmd; char *param; } tble_cmd_param; |