ntlm.h | ntlm.h | |||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* | * | |||
* Libntlm is distributed in the hope that it will be useful, | * Libntlm is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with libntlm; if not, write to the Free Software | * License along with libntlm; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
A | * 02110-1301, USA. | |||
* | * | |||
*/ | */ | |||
#ifndef NTLM_H | #ifndef NTLM_H | |||
# define NTLM_H | # define NTLM_H | |||
# ifdef __cplusplus | # ifdef __cplusplus | |||
extern "C" | extern "C" | |||
{ | { | |||
# endif | # endif | |||
typedef unsigned short uint16; | typedef unsigned short uint16; | |||
typedef unsigned int uint32; | typedef unsigned int uint32; | |||
typedef unsigned char uint8; | typedef unsigned char uint8; | |||
#define NTLM_VERSION "0.3.6" | #define NTLM_VERSION "0.3.7" | |||
/* | /* | |||
* These structures are byte-order dependant, and should not | * These structures are byte-order dependant, and should not | |||
* be manipulated except by the use of the routines provided | * be manipulated except by the use of the routines provided | |||
*/ | */ | |||
typedef struct | typedef struct | |||
{ | { | |||
uint16 len; | uint16 len; | |||
uint16 maxlen; | uint16 maxlen; | |||
skipping to change at line 105 | skipping to change at line 106 | |||
dumpSmbNtlmAuthResponse (FILE * fp, tSmbNtlmAuthResponse * response); | dumpSmbNtlmAuthResponse (FILE * fp, tSmbNtlmAuthResponse * response); | |||
extern void | extern void | |||
buildSmbNtlmAuthRequest (tSmbNtlmAuthRequest * request, | buildSmbNtlmAuthRequest (tSmbNtlmAuthRequest * request, | |||
const char *user, const char *domain); | const char *user, const char *domain); | |||
extern void | extern void | |||
buildSmbNtlmAuthResponse (tSmbNtlmAuthChallenge * challenge, | buildSmbNtlmAuthResponse (tSmbNtlmAuthChallenge * challenge, | |||
tSmbNtlmAuthResponse * response, | tSmbNtlmAuthResponse * response, | |||
const char *user, const char *password); | const char *user, const char *password); | |||
extern const char * | ||||
ntlm_check_version (const char *req_version); | ||||
# ifdef __cplusplus | # ifdef __cplusplus | |||
} | } | |||
# endif | # endif | |||
#endif /* NTLM_H */ | #endif /* NTLM_H */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 6 lines changed or added | |||