Server IP : 103.169.32.36 / Your IP : 216.73.216.202 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/rpcsvc/ |
Upload File : |
| Current File : /usr/include/rpcsvc/rusers.h |
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _RUSERS_H_RPCGEN
#define _RUSERS_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Find out about remote users
*/
#define RUSERS_MAXUSERLEN 32
#define RUSERS_MAXLINELEN 32
#define RUSERS_MAXHOSTLEN 257
struct rusers_utmp {
char *ut_user;
char *ut_line;
char *ut_host;
int ut_type;
int ut_time;
u_int ut_idle;
};
typedef struct rusers_utmp rusers_utmp;
typedef struct {
u_int utmp_array_len;
rusers_utmp *utmp_array_val;
} utmp_array;
/*
* Values for ut_type field above.
*/
#define RUSERS_EMPTY 0
#define RUSERS_RUN_LVL 1
#define RUSERS_BOOT_TIME 2
#define RUSERS_OLD_TIME 3
#define RUSERS_NEW_TIME 4
#define RUSERS_INIT_PROCESS 5
#define RUSERS_LOGIN_PROCESS 6
#define RUSERS_USER_PROCESS 7
#define RUSERS_DEAD_PROCESS 8
#define RUSERS_ACCOUNTING 9
#ifdef __cplusplus
extern "C" {
#endif
#include <rpc/xdr.h>
/*
* The following structures are used by version 2 of the rusersd protocol.
* They were not developed with rpcgen, so they do not appear as RPCL.
*/
#define RUSERSVERS_IDLE 2
#define RUSERSVERS 3 /* current version */
#define MAXUSERS 100
/*
* This is the structure used in version 2 of the rusersd RPC service.
* It corresponds to the utmp structure for BSD systems.
*/
struct ru_utmp {
char ut_line[8]; /* tty name */
char ut_name[8]; /* user id */
char ut_host[16]; /* host name, if remote */
long int ut_time; /* time on */
};
struct utmparr {
struct ru_utmp **uta_arr;
int uta_cnt;
};
typedef struct utmparr utmparr;
extern bool_t xdr_utmparr (XDR *xdrs, struct utmparr *objp) __THROW;
struct utmpidle {
struct ru_utmp ui_utmp;
unsigned int ui_idle;
};
struct utmpidlearr {
struct utmpidle **uia_arr;
int uia_cnt;
};
extern bool_t xdr_utmpidlearr (XDR *xdrs, struct utmpidlearr *objp) __THROW;
#ifdef __cplusplus
}
#endif
#define RUSERSPROG 100002
#define RUSERSVERS_3 3
#if defined(__STDC__) || defined(__cplusplus)
#define RUSERSPROC_NUM 1
extern int * rusersproc_num_3(void *, CLIENT *);
extern int * rusersproc_num_3_svc(void *, struct svc_req *);
#define RUSERSPROC_NAMES 2
extern utmp_array * rusersproc_names_3(void *, CLIENT *);
extern utmp_array * rusersproc_names_3_svc(void *, struct svc_req *);
#define RUSERSPROC_ALLNAMES 3
extern utmp_array * rusersproc_allnames_3(void *, CLIENT *);
extern utmp_array * rusersproc_allnames_3_svc(void *, struct svc_req *);
extern int rusersprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
#define RUSERSPROC_NUM 1
extern int * rusersproc_num_3();
extern int * rusersproc_num_3_svc();
#define RUSERSPROC_NAMES 2
extern utmp_array * rusersproc_names_3();
extern utmp_array * rusersproc_names_3_svc();
#define RUSERSPROC_ALLNAMES 3
extern utmp_array * rusersproc_allnames_3();
extern utmp_array * rusersproc_allnames_3_svc();
extern int rusersprog_3_freeresult ();
#endif /* K&R C */
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_rusers_utmp (XDR *, rusers_utmp*);
extern bool_t xdr_utmp_array (XDR *, utmp_array*);
#else /* K&R C */
extern bool_t xdr_rusers_utmp ();
extern bool_t xdr_utmp_array ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_RUSERS_H_RPCGEN */
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
September 29 2025 07:00:20 |
0 / 0 |
0755 |
|
| | | | | |
| bootparam.h |
0.89 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| bootparam_prot.h |
3.113 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| bootparam_prot.x |
3.047 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| key_prot.h |
6.599 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| key_prot.x |
6.414 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| klm_prot.h |
3.213 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| klm_prot.x |
3.653 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| mount.h |
3.772 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| mount.x |
4.556 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nfs_prot.h |
11.18 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nfs_prot.x |
7.799 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nis.h |
15.83 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis.x |
16.408 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_callback.h |
2.641 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_callback.x |
2.127 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_object.x |
12.783 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_tags.h |
5.244 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nislib.h |
12.687 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nlm_prot.h |
9.154 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nlm_prot.x |
4.873 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rex.h |
5.129 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rex.x |
7.248 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rstat.h |
3.95 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rstat.x |
3.907 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rusers.h |
3.202 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rusers.x |
5.729 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| sm_inter.h |
3.099 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| sm_inter.x |
3.664 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| spray.h |
1.843 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| spray.x |
2.483 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| yp.h |
9.684 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yp.x |
7.029 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yp_prot.h |
10.253 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| ypclnt.h |
3.515 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yppasswd.h |
1.255 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| yppasswd.x |
2.232 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| ypupd.h |
2.937 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|