ReactOS 0.4.16-dev-297-gc569aee
|
#include <wintirpc.h>
#include <rpc/rpc.h>
#include "rpc_com.h"
#include <ctype.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | MAXHOSTNAMELEN 256 |
#define | NGROUPS 16 |
#define | TYPE_BIT(type) (sizeof (type) * CHAR_BIT) |
#define | TYPE_SIGNED(type) (((type) -1) < 0) |
#define | INT_STRLEN_MAXIMUM(type) ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type)) |
Functions | |
int | getnetname (name) |
int | user2netname (netname, const uid_t uid, const char *domain) |
int | host2netname (netname, const char *host, const char *domain) |
Variables | |
static char * | OPSYS = "unix" |
#define INT_STRLEN_MAXIMUM | ( | type | ) | ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type)) |
Definition at line 78 of file netname.c.
Referenced by authdes_pk_seccreate().
Definition at line 126 of file netname.c.
Referenced by getnetname().
Definition at line 101 of file netname.c.
Referenced by getnetname().
|
static |
Definition at line 72 of file netname.c.
Referenced by host2netname(), and user2netname().