From 76d4d6b2bafada7b790e817b7324d53f3d3a0c7f Mon Sep 17 00:00:00 2001 From: David Timber Date: Thu, 20 Aug 2020 12:23:35 +0930 Subject: Progress ... * Move DVault out of executable. Dynamically load it on startup * Improved testing scheme * Tidy up prne_*assert* macro series * Protocol: store host credentials in base64 string. No mask * Use the lock shm as a shared_global so the stats can persist * mmap() the executable read-only for later use --- src/util_rt.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/util_rt.h') diff --git a/src/util_rt.h b/src/util_rt.h index ef241fc..668a01b 100644 --- a/src/util_rt.h +++ b/src/util_rt.h @@ -11,17 +11,6 @@ #include -struct prne_stdin_base64_rf_ctx; -typedef struct prne_stdin_base64_rf_ctx prne_stdin_base64_rf_ctx_t; - -struct prne_stdin_base64_rf_ctx { - size_t line_len; - size_t out_len; - char line_buf[78]; - uint8_t out_buf[58]; -}; - - #if 0 bool prne_strendsw (const char *str, const char *w) { const size_t len_str = strlen(str); @@ -34,7 +23,6 @@ bool prne_strendsw (const char *str, const char *w) { } #endif -void prne_assert (const bool ret); void prne_empty_func (void); void prne_close (const int fd); void prne_shutdown (const int fd, const int how); @@ -67,9 +55,6 @@ struct timespec prne_gettime (const clockid_t cid); char *prne_enc_base64_mem (const uint8_t *data, const size_t size); bool prne_dec_base64_mem (const char *str, const size_t str_len, uint8_t **data, size_t *size); -void prne_init_stdin_base64_rf_ctx (prne_stdin_base64_rf_ctx_t *ctx); -void prne_free_stdin_base64_rf_ctx (prne_stdin_base64_rf_ctx_t *ctx); -prne_pack_ret_t prne_stdin_base64_rf (void *ctx, const size_t req, uint8_t *out, size_t *out_len); bool prne_set_pipe_size (const int fd, const int size); -- cgit