46 struct in_addr hosts[VSG_MEMBERS];
53 vsgent(
struct in_addr Hosts[VSG_MEMBERS], RealmId realmid);
56 int CmpHosts(
struct in_addr Hosts[VSG_MEMBERS])
58 return (memcmp(hosts, Hosts, VSG_MEMBERS *
sizeof(
struct in_addr)) ==
64 static unsigned int allocs;
65 static unsigned int deallocs;
74 unsigned int NHosts(
void) {
return nhosts; }
75 unsigned int MaxVSG(
void) {
return max_vsg; }
76 void GetHosts(
struct in_addr Hosts[VSG_MEMBERS])
78 memcpy(Hosts, hosts, VSG_MEMBERS *
sizeof(
struct in_addr));
92 vsgent *
GetVSG(
struct in_addr hosts[VSG_MEMBERS], RealmId realm);
Definition: refcounted.h:38
void PutRef(void)
Definition: refcounted.h:55
~vsgdb(void)
Definition: vsg.cc:230
vsgdb(void)
Definition: vsg.cc:225
void KillUserMgrps(uid_t uid)
Definition: vsg.cc:262
void print()
Definition: vsg.h:96
vsgent * GetVSG(struct in_addr hosts[VSG_MEMBERS], RealmId realm)
Definition: vsg.cc:235
int GetMgrp(mgrpent **m, uid_t uid, int auth=1) EXCLUDES_TRANSACTION
Definition: vsg.cc:77
struct dllist_head vsgs
Definition: vsg.h:51
unsigned int NHosts(void)
Definition: vsg.h:74
void print(FILE *f)
Definition: vsg.cc:207
~vsgent(void)
Definition: vsg.cc:60
vsgent(struct in_addr Hosts[VSG_MEMBERS], RealmId realmid)
Definition: vsg.cc:32
void KillMgrps(void)
Definition: vsg.cc:167
void Put(void)
Definition: vsg.h:67
int CmpHosts(struct in_addr Hosts[VSG_MEMBERS])
Definition: vsg.h:56
void KillMgrpMember(struct in_addr *)
Definition: vsg.cc:195
friend void Mgrp_Wait()
Definition: mgrp.cc:45
void GetHosts(struct in_addr Hosts[VSG_MEMBERS])
Definition: vsg.h:76
void KillUserMgrps(uid_t uid)
Definition: vsg.cc:177
unsigned int MaxVSG(void)
Definition: vsg.h:75
#define EXCLUDES_TRANSACTION
Definition: coda_tsa.h:108
stdout
Definition: volusage.py:12
@ f
Definition: rvm_private.h:416
void VSGDBInit(void)
Definition: vsg.cc:282
vsgdb * VSGDB
Definition: vsg.cc:25