/* Editor Settings: expandtabs and use 4 spaces for indentation
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
* -*- mode: c, c-basic-offset: 4 -*- */
/*
* Copyright Likewise Software
* All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the license, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details. You should have received a copy
* of the GNU Lesser General Public License along with this program. If
* not, see .
*
* LIKEWISE SOFTWARE MAKES THIS SOFTWARE AVAILABLE UNDER OTHER LICENSING
* TERMS AS WELL. IF YOU HAVE ENTERED INTO A SEPARATE LICENSE AGREEMENT
* WITH LIKEWISE SOFTWARE, THEN YOU MAY ELECT TO USE THE SOFTWARE UNDER THE
* TERMS OF THAT SOFTWARE LICENSE AGREEMENT INSTEAD OF THE TERMS OF THE GNU
* LESSER GENERAL PUBLIC LICENSE, NOTWITHSTANDING THE ABOVE NOTICE. IF YOU
* HAVE QUESTIONS, OR WISH TO REQUEST A COPY OF THE ALTERNATE LICENSING
* TERMS OFFERED BY LIKEWISE SOFTWARE, PLEASE CONTACT LIKEWISE SOFTWARE AT
* license@likewisesoftware.com
*/
#include "includes.h"
#include
/* These functions are thin wrappers around the reentrant versions which
acquire implicit state from thread-local storage */
DWORD
GetLastError(
VOID
)
{
abort();
}
VOID
SetLastError(
DWORD dwError
)
{
abort();
}
BOOL
CallNamedPipeA(
IN PCSTR pszNamedPipeName,
IN PVOID pInBuffer,
IN DWORD dwInBufferSize,
OUT PVOID pOutBuffer,
IN DWORD dwOutBufferSize,
OUT PDWORD pdwBytesRead,
IN DWORD dwTimeout
)
{
abort();
}
BOOL
CallNamedPipeW(
IN PCWSTR pwszNamedPipeName,
IN PVOID pInBuffer,
IN DWORD dwInBufferSize,
OUT PVOID pOutBuffer,
IN DWORD dwOutBufferSize,
OUT PDWORD pdwBytesRead,
IN DWORD dwTimeout
)
{
abort();
}
HANDLE
CreateNamedPipeA(
IN PCSTR pszName,
IN DWORD dwOpenMode,
IN DWORD dwPipeMode,
IN DWORD dwMaxInstances,
IN DWORD dwOutBufferSize,
IN DWORD dwInBufferSize,
IN DWORD dwDefaultTimeOut,
IN OPTIONAL PSECURITY_ATTRIBUTES pSecurityAttributes
)
{
abort();
}
HANDLE
CreateNamedPipeW(
IN PCWSTR pwszName,
IN DWORD dwOpenMode,
IN DWORD dwPipeMode,
IN DWORD dwMaxInstances,
IN DWORD dwOutBufferSize,
IN DWORD dwInBufferSize,
IN DWORD dwDefaultTimeOut,
IN OPTIONAL PSECURITY_ATTRIBUTES pSecurityAttributes
)
{
abort();
}
BOOL
GetNamedPipeInfo(
IN HANDLE hNamedPipe,
OUT OPTIONAL PDWORD pdwFlags,
OUT OPTIONAL PDWORD pdwOutBufferSize,
OUT OPTIONAL PDWORD pdwInBufferSize,
OUT OPTIONAL PDWORD pdwMaxInstances
)
{
abort();
}
BOOL
ConnectNamedPipe(
IN HANDLE hNamedPipe,
IN OUT OPTIONAL POVERLAPPED pOverlapped
)
{
abort();
}
BOOL
TransactNamedPipe(
IN HANDLE hNamedPipe,
IN PVOID pInBuffer,
IN DWORD dwInBufferSize,
OUT PVOID pOutBuffer,
IN DWORD dwOutBufferSize,
OUT PDWORD pdwBytesRead,
IN OUT OPTIONAL POVERLAPPED pOverlapped
)
{
abort();
}
BOOL
WaitNamedPipeA(
IN PCSTR pszNamedPipeName,
IN DWORD dwTimeOut
)
{
abort();
}
BOOL
WaitNamedPipeW(
IN PCWSTR pwszNamedPipeName,
IN DWORD dwTimeOut
)
{
abort();
}
BOOL
GetNamedPipeClientComputerNameA(
IN HANDLE hNamedPipe,
OUT PSTR pszClientComputerName,
IN DWORD dwClientComputerNameLength
)
{
abort();
}
BOOL
GetNamedPipeClientComputerNameW(
IN HANDLE hNamedPipe,
OUT PWSTR pwszClientComputerName,
IN DWORD dwClientComputerNameLength
)
{
abort();
}
BOOL
GetNamedPipeClientProcessId(
IN HANDLE hNamedPipe,
OUT PDWORD pdwClientProcessId
)
{
abort();
}
BOOL
GetNamedPipeServerProcessId(
IN HANDLE hNamedPipe,
OUT PDWORD pdwServerProcessId
)
{
abort();
}
BOOL
GetNamedPipeClientSessionId(
IN HANDLE hNamedPipe,
OUT PDWORD pdwClientSessionId
)
{
abort();
}
BOOL
PeekNamedPipe(
IN HANDLE hNamedPipe,
OUT OPTIONAL PVOID pBuffer,
IN DWORD dwBufferSize,
OUT OPTIONAL PDWORD pdwBytesRead,
OUT OPTIONAL PDWORD pdwTotalBytesAvail,
OUT OPTIONAL PDWORD pdwBytesLeftThisMessage
)
{
abort();
}
BOOL
DisconnectNamedPipe(
IN HANDLE hNamedPipe
)
{
abort();
}
HANDLE
CreateFileA(
IN PCSTR pszFileName,
IN DWORD dwDesiredAccess,
IN DWORD dwSharedMode,
IN PSECURITY_ATTRIBUTES pSecurityAttributes,
IN DWORD dwCreationDisposition,
IN DWORD dwFlagsAndAttributes,
IN HANDLE hTemplateFile
)
{
abort();
}
HANDLE
CreateFileW(
IN PCWSTR pwszFileName,
IN DWORD dwDesiredAccess,
IN DWORD dwSharedMode,
IN PSECURITY_ATTRIBUTES pSecurityAttributes,
IN DWORD dwCreationDisposition,
IN DWORD dwFlagsAndAttributes,
IN HANDLE hTemplateFile
)
{
abort();
}
BOOL
SetNamedPipeHandleState(
IN HANDLE hPipe,
IN OPTIONAL PDWORD pdwMode,
IN OPTIONAL PDWORD pdwMaxCollectionCount,
IN OPTIONAL PDWORD pdwMaxTimeout
)
{
abort();
}
BOOL
ReadFile(
IN HANDLE hFile,
OUT PVOID pBuffer,
IN DWORD dwNumberOfBytesToRead,
OUT PDWORD pdwBytesRead,
IN OUT OPTIONAL POVERLAPPED pOverlapped
)
{
abort();
}
BOOL
WriteFile(
IN HANDLE hFile,
IN PVOID pBuffer,
IN DWORD dwNumBytesToWrite,
OUT PDWORD pdwNumBytesWritten,
IN OUT OPTIONAL POVERLAPPED pOverlapped
)
{
abort();
}
BOOL
CloseHandle(
IN OUT HANDLE hFile
)
{
abort();
}