rnusers.x (9524e274b5484ac8b43bacd90d4029183ccf6476) rnusers.x (5b31cc94b10d4bb7109c6b27940a0fc76a44a331)
1/*-
2 * Copyright (c) 2010, Oracle America, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
7 *
8 * * Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32/*
33 * Find out about remote users
34 */
35
1/*-
2 * Copyright (c) 2010, Oracle America, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
7 *
8 * * Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32/*
33 * Find out about remote users
34 */
35
36#ifndef RPC_HDR
37%#ifndef lint
38%/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
39%/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/
40%#endif /* not lint */
41%#include <sys/cdefs.h>
42#endif
43
44const MAXUSERS = 100;
45const MAXUTLEN = 256;
46
47struct utmp {
48 string ut_line<MAXUTLEN>;
49 string ut_name<MAXUTLEN>;
50 string ut_host<MAXUTLEN>;
51 int ut_time;

--- 73 unchanged lines hidden ---
36const MAXUSERS = 100;
37const MAXUTLEN = 256;
38
39struct utmp {
40 string ut_line<MAXUTLEN>;
41 string ut_name<MAXUTLEN>;
42 string ut_host<MAXUTLEN>;
43 int ut_time;

--- 73 unchanged lines hidden ---