"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/md_util.h" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

md_util.h  (mod_md-2.4.2):md_util.h  (mod_md-2.4.4)
skipping to change at line 38 skipping to change at line 38
typedef apr_status_t md_util_action(void *baton, apr_pool_t *p, apr_pool_t *ptem p); typedef apr_status_t md_util_action(void *baton, apr_pool_t *p, apr_pool_t *ptem p);
typedef apr_status_t md_util_vaction(void *baton, apr_pool_t *p, apr_pool_t *pte mp, va_list ap); typedef apr_status_t md_util_vaction(void *baton, apr_pool_t *p, apr_pool_t *pte mp, va_list ap);
apr_status_t md_util_pool_do(md_util_action *cb, void *baton, apr_pool_t *p); apr_status_t md_util_pool_do(md_util_action *cb, void *baton, apr_pool_t *p);
apr_status_t md_util_pool_vdo(md_util_vaction *cb, void *baton, apr_pool_t *p, . ..); apr_status_t md_util_pool_vdo(md_util_vaction *cb, void *baton, apr_pool_t *p, . ..);
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* data chunks */ /* data chunks */
typedef void md_data_free_fn(void *data);
typedef struct md_data_t md_data_t; typedef struct md_data_t md_data_t;
struct md_data_t { struct md_data_t {
const char *data; const char *data;
apr_size_t len; apr_size_t len;
md_data_free_fn *free_data;
}; };
#define MD_DATA_CWRAP(d, buffer) md_data_t d = { buffer, sizeof(buffer) } /**
* Init the data to empty, overwriting any content.
*/
void md_data_null(md_data_t *d);
/**
* Create a new md_data_t, providing `len` bytes allocated from pool `p`.
*/
md_data_t *md_data_pmake(apr_size_t len, apr_pool_t *p);
/**
* Initialize md_data_t 'd', providing `len` bytes allocated from pool `p`.
*/
void md_data_pinit(md_data_t *d, apr_size_t len, apr_pool_t *p);
/**
* Initialize md_data_t 'd', by borrowing 'len' bytes in `data` without copying.
* `d` will not take ownership.
*/
void md_data_init(md_data_t *d, const char *data, apr_size_t len);
/**
* Initialize md_data_t 'd', by borrowing the NUL-terminated `str`.
* `d` will not take ownership.
*/
void md_data_init_str(md_data_t *d, const char *str);
/**
* Free any present data and clear (NULL) it. Passing NULL is permitted.
*/
void md_data_clear(md_data_t *d);
md_data_t *md_data_make(apr_pool_t *p, apr_size_t len); md_data_t *md_data_make_pcopy(apr_pool_t *p, const char *data, apr_size_t len);
md_data_t *md_data_create(apr_pool_t *p, const char *data, apr_size_t len);
apr_status_t md_data_assign_copy(md_data_t *dest, const char *src, apr_size_t sr c_len);
void md_data_assign_pcopy(md_data_t *dest, const char *src, apr_size_t src_len, apr_pool_t *p); void md_data_assign_pcopy(md_data_t *dest, const char *src, apr_size_t src_len, apr_pool_t *p);
apr_status_t md_data_to_hex(const char **phex, char separator, apr_status_t md_data_to_hex(const char **phex, char separator,
apr_pool_t *p, const md_data_t *data); apr_pool_t *p, const md_data_t *data);
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* generic arrays */ /* generic arrays */
/** /**
* In an array of pointers, remove all entries == elem. Returns the number * In an array of pointers, remove all entries == elem. Returns the number
 End of changes. 5 change blocks. 
3 lines changed or deleted 34 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)