[BACK]Return to tmux.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.h between version 1.347 and 1.348

version 1.347, 2012/07/10 11:53:01 version 1.348, 2012/07/11 07:10:15
Line 1331 
Line 1331 
         TAILQ_HEAD(, cmd)        list;          TAILQ_HEAD(, cmd)        list;
 };  };
   
   enum cmd_retval {
           CMD_RETURN_ERROR = -1,
           CMD_RETURN_NORMAL = 0,
           CMD_RETURN_YIELD,
           CMD_RETURN_ATTACH
   };
   
 struct cmd_entry {  struct cmd_entry {
         const char      *name;          const char      *name;
         const char      *alias;          const char      *alias;
Line 1349 
Line 1356 
   
         void             (*key_binding)(struct cmd *, int);          void             (*key_binding)(struct cmd *, int);
         int              (*check)(struct args *);          int              (*check)(struct args *);
         int              (*exec)(struct cmd *, struct cmd_ctx *);          enum cmd_retval  (*exec)(struct cmd *, struct cmd_ctx *);
 };  };
   
 /* Key binding. */  /* Key binding. */
Line 1641 
Line 1648 
 char           **cmd_copy_argv(int, char *const *);  char           **cmd_copy_argv(int, char *const *);
 void             cmd_free_argv(int, char **);  void             cmd_free_argv(int, char **);
 struct cmd      *cmd_parse(int, char **, char **);  struct cmd      *cmd_parse(int, char **, char **);
 int              cmd_exec(struct cmd *, struct cmd_ctx *);  enum cmd_retval  cmd_exec(struct cmd *, struct cmd_ctx *);
 void             cmd_free(struct cmd *);  void             cmd_free(struct cmd *);
 size_t           cmd_print(struct cmd *, char *, size_t);  size_t           cmd_print(struct cmd *, char *, size_t);
 struct session  *cmd_current_session(struct cmd_ctx *, int);  struct session  *cmd_current_session(struct cmd_ctx *, int);
Line 1745 
Line 1752 
   
 /* cmd-list.c */  /* cmd-list.c */
 struct cmd_list *cmd_list_parse(int, char **, char **);  struct cmd_list *cmd_list_parse(int, char **, char **);
 int              cmd_list_exec(struct cmd_list *, struct cmd_ctx *);  enum cmd_retval  cmd_list_exec(struct cmd_list *, struct cmd_ctx *);
 void             cmd_list_free(struct cmd_list *);  void             cmd_list_free(struct cmd_list *);
 size_t           cmd_list_print(struct cmd_list *, char *, size_t);  size_t           cmd_list_print(struct cmd_list *, char *, size_t);
   

Legend:
Removed from v.1.347  
changed lines
  Added in v.1.348