The twelfth batch
[git.git] / trace2 / tr2_cmd_name.h
blobab70b67a8e03775fdea4f764f8135e528044e889
1 #ifndef TR2_CMD_NAME_H
2 #define TR2_CMD_NAME_H
4 /*
5 * Append the current command name to the list being maintained
6 * in the environment.
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.
12 * The hierarchy for the current process will be exported to the
13 * environment and inherited by child processes.
15 void tr2_cmd_name_append_hierarchy(const char *name);
18 * Get the command name hierarchy for the current process.
20 const char *tr2_cmd_name_get_hierarchy(void);
22 void tr2_cmd_name_release(void);
24 #endif /* TR2_CMD_NAME_H */