mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-21 22:07:01 +08:00
A few patches committed after ca3b37487 mistakenly forgot to make the copyright year 2021. Fix these. Discussion: https://postgr.es/m/CAApHDvqyLmd9P2oBQYJ=DbrV8QwyPRdmXtCTFYPE08h+ip0UJw@mail.gmail.com
26 lines
777 B
C
26 lines
777 B
C
/*------------------------------------------------------------------------
|
|
*
|
|
* hex.h
|
|
* Encoding and decoding routines for hex strings.
|
|
*
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* IDENTIFICATION
|
|
* src/include/common/hex.h
|
|
*
|
|
*------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef COMMON_HEX_H
|
|
#define COMMON_HEX_H
|
|
|
|
extern uint64 pg_hex_decode(const char *src, size_t srclen,
|
|
char *dst, size_t dstlen);
|
|
extern uint64 pg_hex_encode(const char *src, size_t srclen,
|
|
char *dst, size_t dstlen);
|
|
extern uint64 pg_hex_enc_len(size_t srclen);
|
|
extern uint64 pg_hex_dec_len(size_t srclen);
|
|
|
|
#endif /* COMMON_HEX_H */
|