mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
0fea79cc8f
Likely some new bugs were introduced by this change. The long term goal is clean compilation by g++.
19 lines
297 B
C
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
|