[BACK]Return to cmd-set-option.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-set-option.c between version 1.98 and 1.99

version 1.98, 2016/10/09 07:58:35 version 1.99, 2016/10/10 21:51:39
Line 27 
Line 27 
  * Set an option.   * Set an option.
  */   */
   
 enum cmd_retval cmd_set_option_exec(struct cmd *, struct cmd_q *);  static enum cmd_retval  cmd_set_option_exec(struct cmd *, struct cmd_q *);
   
 enum cmd_retval cmd_set_option_user(struct cmd *, struct cmd_q *,  static enum cmd_retval  cmd_set_option_user(struct cmd *, struct cmd_q *,
             const char *, const char *);              const char *, const char *);
   
 int     cmd_set_option_unset(struct cmd *, struct cmd_q *,  static int      cmd_set_option_unset(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,                      const struct options_table_entry *, struct options *,
             const char *);                      const char *);
 int     cmd_set_option_set(struct cmd *, struct cmd_q *,  static int      cmd_set_option_set(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,                      const struct options_table_entry *, struct options *,
             const char *);                      const char *);
   
 struct options_entry *cmd_set_option_string(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_string(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_number(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_number(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_key(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_key(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_colour(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_colour(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_attributes(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_attributes(struct cmd *,
               struct cmd_q *, const struct options_table_entry *,
               struct options *, const char *);
   static struct options_entry *cmd_set_option_flag(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_flag(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_choice(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_choice(struct cmd *, struct cmd_q *,  static struct options_entry *cmd_set_option_style(struct cmd *, struct cmd_q *,
             const struct options_table_entry *, struct options *,              const struct options_table_entry *, struct options *,
             const char *);              const char *);
 struct options_entry *cmd_set_option_style(struct cmd *, struct cmd_q *,  
             const struct options_table_entry *, struct options *,  
             const char *);  
   
 const struct cmd_entry cmd_set_option_entry = {  const struct cmd_entry cmd_set_option_entry = {
         .name = "set-option",          .name = "set-option",
Line 90 
Line 90 
         .exec = cmd_set_option_exec          .exec = cmd_set_option_exec
 };  };
   
 enum cmd_retval  static enum cmd_retval
 cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq)
 {  {
         struct args                             *args = self->args;          struct args                             *args = self->args;
Line 223 
Line 223 
 }  }
   
 /* Set user option. */  /* Set user option. */
 enum cmd_retval  static enum cmd_retval
 cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char *optstr,  cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char *optstr,
     const char *valstr)      const char *valstr)
 {  {
Line 301 
Line 301 
 }  }
   
 /* Unset an option. */  /* Unset an option. */
 int  static int
 cmd_set_option_unset(struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_unset(struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 331 
Line 331 
 }  }
   
 /* Set an option. */  /* Set an option. */
 int  static int
 cmd_set_option_set(struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_set(struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 386 
Line 386 
 }  }
   
 /* Set a string option. */  /* Set a string option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_string(struct cmd *self, __unused struct cmd_q *cmdq,  cmd_set_option_string(struct cmd *self, __unused struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 408 
Line 408 
 }  }
   
 /* Set a number option. */  /* Set a number option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_number(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_number(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 426 
Line 426 
 }  }
   
 /* Set a key option. */  /* Set a key option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_key(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_key(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 443 
Line 443 
 }  }
   
 /* Set a colour option. */  /* Set a colour option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_colour(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_colour(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 459 
Line 459 
 }  }
   
 /* Set an attributes option. */  /* Set an attributes option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_attributes(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_attributes(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 475 
Line 475 
 }  }
   
 /* Set a flag option. */  /* Set a flag option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_flag(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_flag(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 503 
Line 503 
 }  }
   
 /* Set a choice option. */  /* Set a choice option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_choice(__unused struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_choice(__unused struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)
Line 538 
Line 538 
 }  }
   
 /* Set a style option. */  /* Set a style option. */
 struct options_entry *  static struct options_entry *
 cmd_set_option_style(struct cmd *self, struct cmd_q *cmdq,  cmd_set_option_style(struct cmd *self, struct cmd_q *cmdq,
     const struct options_table_entry *oe, struct options *oo,      const struct options_table_entry *oe, struct options *oo,
     const char *value)      const char *value)

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99