summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/ntsecapi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--private/nw/convert/nwconv/ntsecapi.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/private/nw/convert/nwconv/ntsecapi.h b/private/nw/convert/nwconv/ntsecapi.h
new file mode 100644
index 000000000..9db3fedcd
--- /dev/null
+++ b/private/nw/convert/nwconv/ntsecapi.h
@@ -0,0 +1,28 @@
+/*+-------------------------------------------------------------------------+
+ | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
+ +-------------------------------------------------------------------------+*/
+
+#ifndef _NTSECAPI_
+#define _NTSECAPI_
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+typedef struct _TRUSTED_DOMAIN_LIST {
+ ULONG Count;
+ TCHAR Name[][MAX_DOMAIN_NAME_LEN + 1];
+} TRUSTED_DOMAIN_LIST;
+
+
+BOOL NTDomainGet(LPTSTR ServerName, LPTSTR Domain);
+BOOL IsNTAS(LPTSTR Server);
+void NTTrustedDomainsEnum(LPTSTR ServerName, TRUSTED_DOMAIN_LIST **pTList);
+SID *NTSIDGet(LPTSTR ServerName, LPTSTR pUserName);
+BOOL NTFile_AccessRightsAdd(LPTSTR ServerName, LPTSTR pUserName, LPTSTR pFileName, ULONG Rights, BOOL Dir);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif