mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Fix comment at top of file to match file name.
This commit is contained in:
@@ -1,52 +1,52 @@
|
|||||||
/* File: connection.h
|
/* File: connection.h
|
||||||
*
|
*
|
||||||
* Description: See "connection.c"
|
* Description: See "md.h"
|
||||||
*
|
*
|
||||||
* Comments: See "notice.txt" for copyright and license information.
|
* Comments: See "notice.txt" for copyright and license information.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __MD5_H__
|
#ifndef __MD5_H__
|
||||||
#define __MD5_H__
|
#define __MD5_H__
|
||||||
|
|
||||||
#include "psqlodbc.h"
|
#include "psqlodbc.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define MD5_ODBC
|
#define MD5_ODBC
|
||||||
#define FRONTEND
|
#define FRONTEND
|
||||||
#endif
|
#endif
|
||||||
#define MD5_PASSWD_LEN 35
|
#define MD5_PASSWD_LEN 35
|
||||||
|
|
||||||
/* From c.h */
|
/* From c.h */
|
||||||
#ifndef __BEOS__
|
#ifndef __BEOS__
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
||||||
#ifndef bool
|
#ifndef bool
|
||||||
typedef char bool;
|
typedef char bool;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef true
|
#ifndef true
|
||||||
#define true ((bool) 1)
|
#define true ((bool) 1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef false
|
#ifndef false
|
||||||
#define false ((bool) 0)
|
#define false ((bool) 0)
|
||||||
#endif
|
#endif
|
||||||
#endif /* not C++ */
|
#endif /* not C++ */
|
||||||
#endif /* __BEOS__ */
|
#endif /* __BEOS__ */
|
||||||
|
|
||||||
#ifndef __BEOS__ /* this shouldn't be required, but is is! */
|
#ifndef __BEOS__ /* this shouldn't be required, but is is! */
|
||||||
typedef unsigned char uint8; /* == 8 bits */
|
typedef unsigned char uint8; /* == 8 bits */
|
||||||
typedef unsigned short uint16; /* == 16 bits */
|
typedef unsigned short uint16; /* == 16 bits */
|
||||||
typedef unsigned int uint32; /* == 32 bits */
|
typedef unsigned int uint32; /* == 32 bits */
|
||||||
#endif /* __BEOS__ */
|
#endif /* __BEOS__ */
|
||||||
|
|
||||||
extern bool EncryptMD5(const char *passwd, const char *salt,
|
extern bool EncryptMD5(const char *passwd, const char *salt,
|
||||||
size_t salt_len, char *buf);
|
size_t salt_len, char *buf);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user