1997-12-04 01:34:01 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* crypt.h
|
2001-11-02 19:39:57 +01:00
|
|
|
* Interface to libpq/crypt.c
|
1997-12-04 01:34:01 +01:00
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
2001-11-02 19:39:57 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1997-12-04 01:34:01 +01:00
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/libpq/crypt.h,v 1.38 2009/01/01 17:23:59 momjian Exp $
|
2001-11-05 18:46:40 +01:00
|
|
|
*
|
1997-12-04 01:34:01 +01:00
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_CRYPT_H
|
|
|
|
#define PG_CRYPT_H
|
|
|
|
|
1999-07-16 01:04:24 +02:00
|
|
|
#include "libpq/libpq-be.h"
|
1997-12-04 01:34:01 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
extern int md5_crypt_verify(const Port *port, const char *user,
|
2003-08-04 02:43:34 +02:00
|
|
|
char *client_pass);
|
2002-09-04 22:31:48 +02:00
|
|
|
|
1997-12-04 01:34:01 +01:00
|
|
|
#endif
|