Merge https://github.com/j6t/gitk
[git.git] / trace2 / tr2_sid.h
blob9bef3217081a7e547e883ad30a40092dd0ed86c7
1 #ifndef TR2_SID_H
2 #define TR2_SID_H
4 /*
5 * Get our session id. Compute if necessary.
6 */
7 const char *tr2_sid_get(void);
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.
14 int tr2_sid_depth(void);
16 void tr2_sid_release(void);
18 #endif /* TR2_SID_H */