mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
struct args_entry can go into arguments.c.
This commit is contained in:
parent
373ef850e0
commit
52bbac506c
@ -29,6 +29,12 @@
|
|||||||
* Manipulate command arguments.
|
* Manipulate command arguments.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
struct args_entry {
|
||||||
|
u_char flag;
|
||||||
|
char *value;
|
||||||
|
RB_ENTRY(args_entry) entry;
|
||||||
|
};
|
||||||
|
|
||||||
struct args_entry *args_find(struct args *, u_char);
|
struct args_entry *args_find(struct args *, u_char);
|
||||||
|
|
||||||
RB_GENERATE(args_tree, args_entry, entry, args_cmp);
|
RB_GENERATE(args_tree, args_entry, entry, args_cmp);
|
||||||
|
7
tmux.h
7
tmux.h
@ -1257,13 +1257,8 @@ struct client {
|
|||||||
TAILQ_HEAD(clients, client);
|
TAILQ_HEAD(clients, client);
|
||||||
|
|
||||||
/* Parsed arguments structures. */
|
/* Parsed arguments structures. */
|
||||||
struct args_entry {
|
struct args_entry;
|
||||||
u_char flag;
|
|
||||||
char *value;
|
|
||||||
RB_ENTRY(args_entry) entry;
|
|
||||||
};
|
|
||||||
RB_HEAD(args_tree, args_entry);
|
RB_HEAD(args_tree, args_entry);
|
||||||
|
|
||||||
struct args {
|
struct args {
|
||||||
struct args_tree tree;
|
struct args_tree tree;
|
||||||
int argc;
|
int argc;
|
||||||
|
Loading…
Reference in New Issue
Block a user