1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/src/network/ssl/match-hostname.h
Witold Filipczyk 0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00

19 lines
297 B
C

#ifndef EL__NETWORK_SSL_MATCH_HOSTNAME_H
#define EL__NETWORK_SSL_MATCH_HOSTNAME_H
#ifdef __cplusplus
extern "C" {
#endif
int match_hostname_pattern(const char *hostname,
size_t hostname_length,
const char *pattern,
size_t pattern_length);
#ifdef __cplusplus
}
#endif
#endif