pki: Created pki --est man page
This commit is contained in:
@@ -36,6 +36,14 @@ bool match(const char *pattern, const chunk_t *ch)
|
||||
return ch->len == strlen(pattern) && strncmp(pattern, ch->ptr, ch->len) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* compare string with chunk ignoring the case of the characters
|
||||
*/
|
||||
bool matchcase(const char *pattern, const chunk_t *ch)
|
||||
{
|
||||
return ch->len == strlen(pattern) && strncasecmp(pattern, ch->ptr, ch->len) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* extracts a token ending with the first occurrence of a given termination symbol
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2001-2008 Andreas Steffen
|
||||
*
|
||||
* Copyright (C) 2001-2022 Andreas Steffen
|
||||
*
|
||||
* Copyright (C) secunet Security Networks AG
|
||||
*
|
||||
@@ -35,6 +34,11 @@ bool eat_whitespace(chunk_t *src);
|
||||
*/
|
||||
bool match(const char *pattern, const chunk_t *ch);
|
||||
|
||||
/**
|
||||
* Compare null-terminated pattern with chunk ignoring the case of the characters
|
||||
*/
|
||||
bool matchcase(const char *pattern, const chunk_t *ch);
|
||||
|
||||
/**
|
||||
* Extracts a token ending with the first occurrence of a given termination symbol
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user