mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 22:13:00 +00:00
Introduced groups_t instead of uint32_t
This commit is contained in:
parent
557f299b82
commit
2cddaf22b1
35 changed files with 152 additions and 132 deletions
7
xio.h
7
xio.h
|
@ -89,6 +89,9 @@ enum xiotag {
|
|||
streams */
|
||||
} ;
|
||||
|
||||
typedef uint32_t groups_t;
|
||||
#define F_groups_t F_uint32_x
|
||||
|
||||
/* global XIO options/parameters */
|
||||
typedef struct {
|
||||
bool strictopts;
|
||||
|
@ -311,9 +314,9 @@ typedef union bipipe {
|
|||
struct addrdesc {
|
||||
const char *defname; /* main (canonical) name of address */
|
||||
int directions; /* 1..read, 2..write, 3..both */
|
||||
int (*func)(int argc, const char *argv[], struct opt *opts, int rw, xiofile_t *fd, unsigned groups,
|
||||
int (*func)(int argc, const char *argv[], struct opt *opts, int rw, xiofile_t *fd, groups_t groups,
|
||||
int arg1, int arg2, int arg3);
|
||||
unsigned groups;
|
||||
groups_t groups;
|
||||
int arg1;
|
||||
int arg2;
|
||||
int arg3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue