73 lines
2.2 KiB
C
73 lines
2.2 KiB
C
/***********************************************************************
|
|
* File: lextend.h
|
|
* Author: Todd Throne (tthrone@novell.com)
|
|
*
|
|
* Abstract: Implements a novell client login extension.
|
|
*
|
|
* Copyright (C) 2005 Novell, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this library; if not, write to the Free
|
|
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
***********************************************************************/
|
|
|
|
#ifndef __LEXTEND_H_
|
|
#define __LEXTEND_H_
|
|
|
|
//===[ Include files ]=====================================================
|
|
|
|
#define N_PLAT_MSW4
|
|
#define N_ARCH_32
|
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
#include <windows.h>
|
|
|
|
#include <winwlx.h>
|
|
#include <windowsx.h>
|
|
|
|
#include "nwalias.h"
|
|
#include "nwlgext.h"
|
|
|
|
//===[ Manifest constants ]================================================
|
|
|
|
//===[ Macro definitions ]==============================
|
|
|
|
#define NcSeverityBuild(severity, errorcode) \
|
|
((NCSTATUS)(((severity) << 30) | (errorcode)))
|
|
|
|
//===[ Type definitions ]==================================================
|
|
|
|
//===[ Function prototypes ]===============================================
|
|
|
|
void
|
|
DebugPrint
|
|
(
|
|
char *format,
|
|
...
|
|
);
|
|
|
|
NCSTATUS
|
|
SetCredentialsInWallet(
|
|
SCHANDLE hSC,
|
|
pnstr pTree,
|
|
pnstr pUser,
|
|
nint passwordLen,
|
|
pnstr pPassword
|
|
);
|
|
|
|
#endif //__LEXTEND_H_
|
|
|
|
//=========================================================================
|
|
//=========================================================================
|
|
|