]> git.ipfire.org Git - thirdparty/git.git/blame - trace2/tr2_sid.h
path.c: mark 'logs/HEAD' in 'common_list' as file
[thirdparty/git.git] / trace2 / tr2_sid.h
CommitLineData
ee4512ed
JH
1#ifndef TR2_SID_H
2#define TR2_SID_H
3
4/*
5 * Get our session id. Compute if necessary.
6 */
7const char *tr2_sid_get(void);
8
9/*
10 * Get our process depth. A top-level git process invoked from the
11 * command line will have depth=0. A child git process will have
12 * depth=1 and so on.
13 */
14int tr2_sid_depth(void);
15
16void tr2_sid_release(void);
17
18#endif /* TR2_SID_H */