diff contrib/chg/hgclient.h @ 29581:c66bc06f1bf6

chg: add pgid to hgclient struct The previous patch makes the server tell the client its pgid. This patch stores it in hgclient_t and adds a function to get it.
author Jun Wu <quark@fb.com>
date Sun, 17 Jul 2016 23:05:59 +0100
parents a5c773acb018
children fde9692a02c0
line wrap: on
line diff
--- a/contrib/chg/hgclient.h	Sun Jul 17 22:56:05 2016 +0100
+++ b/contrib/chg/hgclient.h	Sun Jul 17 23:05:59 2016 +0100
@@ -18,6 +18,7 @@
 hgclient_t *hgc_open(const char *sockname);
 void hgc_close(hgclient_t *hgc);
 
+pid_t hgc_peerpgid(const hgclient_t *hgc);
 pid_t hgc_peerpid(const hgclient_t *hgc);
 
 const char **hgc_validate(hgclient_t *hgc, const char *const args[],