trace2 / tr2_cmd_name.hon commit Merge branch 'jk/no-system-includes-in-dot-c' into maint (414784d)
   1#ifndef TR2_CMD_NAME_H
   2#define TR2_CMD_NAME_H
   3
   4/*
   5 * Append the current command name to the list being maintained
   6 * in the environment.
   7 *
   8 * The hierarchy for a top-level git command is just the current
   9 * command name.  For a child git process, the hierarchy includes the
  10 * names of the parent processes.
  11 *
  12 * The hierarchy for the current process will be exported to the
  13 * environment and inherited by child processes.
  14 */
  15void tr2_cmd_name_append_hierarchy(const char *name);
  16
  17/*
  18 * Get the command name hierarchy for the current process.
  19 */
  20const char *tr2_cmd_name_get_hierarchy(void);
  21
  22void tr2_cmd_name_release(void);
  23
  24#endif /* TR2_CMD_NAME_H */