/* Generated from pts.xg */
#include <rx/rx.h>
#include "pts.h"

int _PR_NameToID(
struct rx_call *call);
int PR_NameToID(
struct rx_call *call
, const namelist *nlist
, idlist *ilist
);

int _PR_IDToName(
struct rx_call *call);
int PR_IDToName(
struct rx_call *call
, const idlist *ilist
, namelist *nlist
);

int _PR_NewEntry(
struct rx_call *call);
int PR_NewEntry(
struct rx_call *call
, const char name[64]
, const int32_t flag
, const int32_t oid
, int32_t *id
);

int _PR_INewEntry(
struct rx_call *call);
int PR_INewEntry(
struct rx_call *call
, const char name[64]
, const int32_t id
, const int32_t oid
);

int _PR_ListEntry(
struct rx_call *call);
int PR_ListEntry(
struct rx_call *call
, const int32_t id
, struct prcheckentry *entry
);

int _PR_DumpEntry(
struct rx_call *call);
int PR_DumpEntry(
struct rx_call *call
, const int32_t pos
, struct prdebugentry *entry
);

int _PR_ChangeEntry(
struct rx_call *call);
int PR_ChangeEntry(
struct rx_call *call
, const int32_t id
, const char name[64]
, const int32_t oid
, const int32_t newid
);

int _PR_SetFieldsEntry(
struct rx_call *call);
int PR_SetFieldsEntry(
struct rx_call *call
, const int32_t id
, const int32_t mask
, const int32_t flags
, const int32_t ngroups
, const int32_t nusers
, const int32_t spare1
, const int32_t spare2
);

int _PR_Delete(
struct rx_call *call);
int PR_Delete(
struct rx_call *call
, const int32_t id
);

int _PR_WhereIsIt(
struct rx_call *call);
int PR_WhereIsIt(
struct rx_call *call
, const int32_t id
, int32_t *ps
);

int _PR_AddToGroup(
struct rx_call *call);
int PR_AddToGroup(
struct rx_call *call
, const int32_t uid
, const int32_t gid
);

int _PR_RemoveFromGroup(
struct rx_call *call);
int PR_RemoveFromGroup(
struct rx_call *call
, const int32_t id
, const int32_t gid
);

int _PR_ListMax(
struct rx_call *call);
int PR_ListMax(
struct rx_call *call
, int32_t *uid
, int32_t *gid
);

int _PR_SetMax(
struct rx_call *call);
int PR_SetMax(
struct rx_call *call
, const int32_t uid
, const int32_t gflag
);

int _PR_ListElements(
struct rx_call *call);
int PR_ListElements(
struct rx_call *call
, const int32_t id
, prlist *elist
, int32_t *over
);

int _PR_GetCPS(
struct rx_call *call);
int PR_GetCPS(
struct rx_call *call
, const int32_t id
, prlist *elist
, int32_t *over
);

int _PR_ListOwned(
struct rx_call *call);
int PR_ListOwned(
struct rx_call *call
, const int32_t id
, prlist *elist
, int32_t *over
);

int _PR_IsAMemberOf(
struct rx_call *call);
int PR_IsAMemberOf(
struct rx_call *call
, const int32_t uid
, const int32_t gid
, int32_t *flag
);

int32_t PR_ExecuteRequest(struct rx_call *call);
