"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/src/druntime/src/core/sys/windows/ntldap.d" (20 Nov 2020, 3148 Bytes) of package /linux/misc/dmd.2.094.2.linux.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2  * Windows API header module
    3  *
    4  * Translated from MinGW Windows headers
    5  *
    6  * Authors: Stewart Gordon
    7  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
    8  * Source: $(DRUNTIMESRC src/core/sys/windows/_ntldap.d)
    9  */
   10 module core.sys.windows.ntldap;
   11 version (Windows):
   12 @system:
   13 
   14 version (ANSI) {} else version = Unicode;
   15 
   16 /*  TOTHINKABOUT: These constants don't have ANSI/Unicode versioned
   17  *  aliases.  Should we merge them anyway?
   18  */
   19 
   20 const char[]
   21     LDAP_SERVER_ASQ_OID                    = "1.2.840.113556.1.4.1504",
   22     LDAP_SERVER_DIRSYNC_OID                = "1.2.840.113556.1.4.841",
   23     LDAP_SERVER_SD_FLAGS_OID               = "1.2.840.113556.1.4.801",
   24     LDAP_SERVER_FAST_BIND_OID              = "1.2.840.113556.1.4.1781",
   25     LDAP_MATCHING_RULE_BIT_OR              = "1.2.840.113556.1.4.804",
   26     LDAP_MATCHING_RULE_BIT_AND             = "1.2.840.113556.1.4.803",
   27     LDAP_SERVER_EXTENDED_DN_OID            = "1.2.840.113556.1.4.529",
   28     LDAP_SERVER_LAZY_COMMIT_OID            = "1.2.840.113556.1.4.619",
   29     LDAP_SERVER_TREE_DELETE_OID            = "1.2.840.113556.1.4.805",
   30     LDAP_SERVER_VERIFY_NAME_OID            = "1.2.840.113556.1.4.1338",
   31     LDAP_SERVER_SHOW_DELETED_OID           = "1.2.840.113556.1.4.417",
   32     LDAP_SERVER_NOTIFICATION_OID           = "1.2.840.113556.1.4.528",
   33     LDAP_SERVER_DOMAIN_SCOPE_OID           = "1.2.840.113556.1.4.1339",
   34     LDAP_CAP_ACTIVE_DIRECTORY_OID          = "1.2.840.113556.1.4.800",
   35     LDAP_SERVER_SEARCH_OPTIONS_OID         = "1.2.840.113556.1.4.1340",
   36     LDAP_CAP_ACTIVE_DIRECTORY_V51_OID      = "1.2.840.113556.1.4.1670",
   37     LDAP_SERVER_PERMISSIVE_MODIFY_OID      = "1.2.840.113556.1.4.1413",
   38     LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID   = "1.2.840.113556.1.4.521";
   39 
   40 const wchar[]
   41     LDAP_SERVER_ASQ_OID_W                  = "1.2.840.113556.1.4.1504",
   42     LDAP_SERVER_DIRSYNC_OID_W              = "1.2.840.113556.1.4.841",
   43     LDAP_SERVER_SD_FLAGS_OID_W             = "1.2.840.113556.1.4.801",
   44     LDAP_SERVER_FAST_BIND_OID_W            = "1.2.840.113556.1.4.1781",
   45     LDAP_MATCHING_RULE_BIT_OR_W            = "1.2.840.113556.1.4.804",
   46     LDAP_MATCHING_RULE_BIT_AND_W           = "1.2.840.113556.1.4.803",
   47     LDAP_SERVER_EXTENDED_DN_OID_W          = "1.2.840.113556.1.4.529",
   48     LDAP_SERVER_LAZY_COMMIT_OID_W          = "1.2.840.113556.1.4.619",
   49     LDAP_SERVER_TREE_DELETE_OID_W          = "1.2.840.113556.1.4.805",
   50     LDAP_SERVER_VERIFY_NAME_OID_W          = "1.2.840.113556.1.4.1338",
   51     LDAP_SERVER_SHOW_DELETED_OID_W         = "1.2.840.113556.1.4.417",
   52     LDAP_SERVER_NOTIFICATION_OID_W         = "1.2.840.113556.1.4.528",
   53     LDAP_SERVER_DOMAIN_SCOPE_OID_W         = "1.2.840.113556.1.4.1339",
   54     LDAP_CAP_ACTIVE_DIRECTORY_OID_W        = "1.2.840.113556.1.4.800",
   55     LDAP_SERVER_SEARCH_OPTIONS_OID_W       = "1.2.840.113556.1.4.1340",
   56     LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W    = "1.2.840.113556.1.4.1670",
   57     LDAP_SERVER_PERMISSIVE_MODIFY_OID_W    = "1.2.840.113556.1.4.1413",
   58     LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W = "1.2.840.113556.1.4.521";
   59 
   60 enum SERVER_SEARCH_FLAG_DOMAIN_SCOPE = 1;
   61 enum SERVER_SEARCH_FLAG_PHANTOM_ROOT = 2;