dsparse.c File Reference
#include <winpr/dsparse.h>


DWORD DsCrackSpnW (LPCWSTR pszSpn, DWORD *pcServiceClass, LPWSTR ServiceClass, DWORD *pcServiceName, LPWSTR ServiceName, DWORD *pcInstanceName, LPWSTR InstanceName, USHORT *pInstancePort)
DWORD DsCrackSpnA (LPCSTR pszSpn, LPDWORD pcServiceClass, LPSTR ServiceClass, LPDWORD pcServiceName, LPSTR ServiceName, LPDWORD pcInstanceName, LPSTR InstanceName, USHORT *pInstancePort)
DWORD DsMakeSpnW (LPCWSTR ServiceClass, LPCWSTR ServiceName, LPCWSTR InstanceName, USHORT InstancePort, LPCWSTR Referrer, DWORD *pcSpnLength, LPWSTR pszSpn)
DWORD DsMakeSpnA (LPCSTR ServiceClass, LPCSTR ServiceName, LPCSTR InstanceName, USHORT InstancePort, LPCSTR Referrer, DWORD *pcSpnLength, LPSTR pszSpn)

Function Documentation

DWORD DsCrackSpnA ( LPCSTR  pszSpn,
LPDWORD  pcServiceClass,
LPSTR  ServiceClass,
LPDWORD  pcServiceName,
LPSTR  ServiceName,
LPDWORD  pcInstanceName,
LPSTR  InstanceName,
USHORT *  pInstancePort 
DWORD DsCrackSpnW ( LPCWSTR  pszSpn,
DWORD *  pcServiceClass,
LPWSTR  ServiceClass,
DWORD *  pcServiceName,
LPWSTR  ServiceName,
DWORD *  pcInstanceName,
LPWSTR  InstanceName,
USHORT *  pInstancePort 

WinPR: Windows Portable Runtime Active Directory Domain Services Parsing Functions

Copyright 2012 Marc-Andre Moreau

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. dsparse.dll:

DsCrackSpnA DsCrackSpnW DsCrackUnquotedMangledRdnA DsCrackUnquotedMangledRdnW DsGetRdnW DsIsMangledDnA DsIsMangledDnW DsIsMangledRdnValueA DsIsMangledRdnValueW DsMakeSpnA DsMakeSpnW DsQuoteRdnValueA DsQuoteRdnValueW DsUnquoteRdnValueA DsUnquoteRdnValueW

DWORD DsMakeSpnA ( LPCSTR  ServiceClass,
LPCSTR  ServiceName,
LPCSTR  InstanceName,
USHORT  InstancePort,
LPCSTR  Referrer,
DWORD *  pcSpnLength,
LPSTR  pszSpn 
DWORD DsMakeSpnW ( LPCWSTR  ServiceClass,
LPCWSTR  ServiceName,
LPCWSTR  InstanceName,
USHORT  InstancePort,
LPCWSTR  Referrer,
DWORD *  pcSpnLength,
LPWSTR  pszSpn