Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1edbd62c
Commit
1edbd62c
authored
Nov 15, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment at top of file to match file name.
parent
09f19de6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
48 deletions
+48
-48
src/interfaces/odbc/md5.h
src/interfaces/odbc/md5.h
+48
-48
No files found.
src/interfaces/odbc/md5.h
View file @
1edbd62c
/* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment