ReactOS 0.4.16-dev-297-gc569aee
|
#include "net.h"
Go to the source code of this file.
Classes | |
struct | _COUNTY_TABLE |
Macros | |
#define | SECONDS_PER_DAY (60 * 60 * 24) |
#define | SECONDS_PER_HOUR (60 * 60) |
#define | HOURS_PER_DAY 24 |
#define | DAYS_PER_WEEK 7 |
Typedefs | |
typedef struct _COUNTY_TABLE | COUNTRY_TABLE |
typedef struct _COUNTY_TABLE * | PCOUNTRY_TABLE |
Functions | |
static int | CompareInfo (const void *a, const void *b) |
static NET_API_STATUS | EnumerateUsers (VOID) |
static VOID | PrintDateTime (DWORD dwSeconds) |
static VOID | PrintLocalTime (DWORD dwSeconds) |
static DWORD | GetTimeInSeconds (VOID) |
static BOOL | GetCountryFromCountryCode (_In_ DWORD dwCountryCode, _In_ DWORD dwCountryLength, _Out_ PWSTR szCountryBuffer) |
static BOOL | GetBitValue (PBYTE pBitmap, DWORD dwBitNumber) |
static VOID | SetBitValue (PBYTE pBitmap, DWORD dwBitNumber) |
static VOID | PrintLogonHours (DWORD dwUnitsPerWeek, PBYTE pLogonHours, INT nPaddedLength) |
static NET_API_STATUS | DisplayUser (LPWSTR lpUserName) |
static VOID | ReadPassword (LPWSTR *lpPassword, LPBOOL lpAllocated) |
static VOID | GenerateRandomPassword (LPWSTR *lpPassword, LPBOOL lpAllocated) |
static NET_API_STATUS | BuildWorkstationsList (_Out_ PWSTR *pWorkstationsList, _In_ PWSTR pRaw) |
static BOOL | ReadNumber (PWSTR *s, PWORD pwValue) |
static BOOL | ReadSeparator (PWSTR *s) |
static BOOL | ParseDate (PWSTR s, PULONG pSeconds) |
static BOOL | ParseHour (PWSTR pszString, PWSTR *AmPmArray, PLONG plHour) |
static BOOL | ParseDay (PWSTR pszString, PWSTR *ShortDays, PWSTR *LongDays, PDWORD pdwDay) |
static DWORD | LocalToGmtHour (LONG lLocalHour, LONG lBias) |
static DWORD | ParseLogonHours (PWSTR pszParams, PBYTE *ppLogonBitmap, PDWORD pdwUnitsPerWeek) |
INT | cmdUser (INT argc, WCHAR **argv) |
Variables | |
static WCHAR | szPasswordChars [] = L"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#$%_-+:" |
static COUNTRY_TABLE | CountryTable [] |
typedef struct _COUNTY_TABLE COUNTRY_TABLE |
typedef struct _COUNTY_TABLE * PCOUNTRY_TABLE |
|
static |
Definition at line 611 of file cmdUser.c.
Referenced by cmdUser().
Definition at line 1148 of file cmdUser.c.
Definition at line 56 of file cmdUser.c.
Referenced by EnumerateUsers().
|
static |
Definition at line 344 of file cmdUser.c.
Referenced by cmdUser().
|
static |
Definition at line 65 of file cmdUser.c.
Referenced by cmdUser().
Definition at line 582 of file cmdUser.c.
Referenced by cmdUser().
Definition at line 231 of file cmdUser.c.
Referenced by ParseLogonHours(), and PrintLogonHours().
|
static |
Definition at line 199 of file cmdUser.c.
Referenced by cmdUser(), and DisplayUser().
Definition at line 182 of file cmdUser.c.
Referenced by DisplayUser().
Definition at line 914 of file cmdUser.c.
Referenced by ParseLogonHours().
Definition at line 746 of file cmdUser.c.
Referenced by cmdUser().
Definition at line 890 of file cmdUser.c.
Referenced by ParseLogonHours().
Definition at line 836 of file cmdUser.c.
Referenced by ParseLogonHours().
|
static |
Definition at line 932 of file cmdUser.c.
Referenced by cmdUser().
Definition at line 123 of file cmdUser.c.
Referenced by DisplayUser().
Definition at line 157 of file cmdUser.c.
Referenced by PrintLogonHours().
Definition at line 257 of file cmdUser.c.
Referenced by DisplayUser().
Definition at line 536 of file cmdUser.c.
Referenced by cmdUser().
|
static |
Definition at line 26 of file cmdUser.c.
Referenced by GetCountryFromCountryCode().
|
static |
Definition at line 25 of file cmdUser.c.
Referenced by GenerateRandomPassword().