1
/* Editor Settings: expandtabs and use 4 spaces for indentation
2
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
3
* -*- mode: c, c-basic-offset: 4 -*- */
6
* Copyright Likewise Software 2004-2008
9
* This library is free software; you can redistribute it and/or modify it
10
* under the terms of the GNU Lesser General Public License as published by
11
* the Free Software Foundation; either version 2.1 of the license, or (at
12
* your option) any later version.
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
17
* General Public License for more details. You should have received a copy
18
* of the GNU Lesser General Public License along with this program. If
19
* not, see <http://www.gnu.org/licenses/>.
21
* LIKEWISE SOFTWARE MAKES THIS SOFTWARE AVAILABLE UNDER OTHER LICENSING
22
* TERMS AS WELL. IF YOU HAVE ENTERED INTO A SEPARATE LICENSE AGREEMENT
23
* WITH LIKEWISE SOFTWARE, THEN YOU MAY ELECT TO USE THE SOFTWARE UNDER THE
24
* TERMS OF THAT SOFTWARE LICENSE AGREEMENT INSTEAD OF THE TERMS OF THE GNU
25
* LESSER GENERAL PUBLIC LICENSE, NOTWITHSTANDING THE ABOVE NOTICE. IF YOU
26
* HAVE QUESTIONS, OR WISH TO REQUEST A COPY OF THE ALTERNATE LICENSING
27
* TERMS OFFERED BY LIKEWISE SOFTWARE, PLEASE CONTACT LIKEWISE SOFTWARE AT
28
* license@likewisesoftware.com
32
* Copyright (C) Likewise Software. All rights reserved.
40
* Kerberos 5 keytab management library
42
* Authors: Krishna Ganugapati (krishnag@likewisesoftware.com)
43
* Sriram Nambakam (snambakam@likewisesoftware.com)
44
* Rafal Szczesniak (rafal@likewisesoftware.com)
51
typedef struct _KT_STRING_BUFFER
54
// length of the string excluding terminating null
56
// capacity of the buffer excluding terminating null
61
KtInitializeStringBuffer(
62
KT_STRING_BUFFER *pBuffer,
67
KT_STRING_BUFFER *pBuffer,
71
KtFreeStringBufferContents(
72
KT_STRING_BUFFER *pBuffer);
103
PCSTR pszInputString,
104
PSTR *ppszOutputString
115
PSTR * ppStringArray,
120
KtFreeNullTerminatedStringArray(
124
#if defined(__LWI_AIX__) || defined(__LWI_HP_UX__)
126
#if !defined(HAVE_RPL_MALLOC)
133
#endif /* ! HAVE_RPL_MALLOC */
135
#if !defined(HAVE_RPL_REALLOC)
143
#endif /* ! HAVE_RPL_REALLOC */
145
#endif /* defined(__LWI_AIX__) || defined(__LWI_HP_UX__) */
147
#endif /* __KTMEM_H__ */
154
indent-tabs-mode: nil