mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
Lose usage and move it into the struct.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.h,v 1.48 2007-10-04 19:03:52 nicm Exp $ */
|
||||
/* $Id: tmux.h,v 1.49 2007-10-04 21:48:11 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -489,13 +489,13 @@ struct cmd_entry {
|
||||
enum cmd_type type;
|
||||
const char *name;
|
||||
const char *alias;
|
||||
const char *usage;
|
||||
|
||||
#define CMD_STARTSERVER 0x1
|
||||
#define CMD_NOSESSION 0x2
|
||||
int flags;
|
||||
|
||||
int (*parse)(void **, int, char **, char **);
|
||||
const char *(*usage)(void);
|
||||
void (*exec)(void *, struct cmd_ctx *);
|
||||
void (*send)(void *, struct buffer *);
|
||||
void (*recv)(void **, struct buffer *);
|
||||
|
Reference in New Issue
Block a user