aboutsummaryrefslogtreecommitdiff
path: root/src/pack.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-08-10 19:43:33 +1000
committerDavid Timber <mieabby@gmail.com>2021-08-10 19:43:33 +1000
commitbbd889f13f94d59a5b78f3c3bc93499d523b8264 (patch)
treef107ac94e0b926476d8a3d8cc8c1f61672c836af /src/pack.h
parentc008231406e43f314a19a3d34c1218d06815dc8a (diff)
Impl M2M binary update ...
* Use getopt in proone-bne * Call pth_yield() where necessary * htbt: truncate downloaded binary if actual size of data transfered is less than alloc_len * prne_rcb_param.self is not optional as proone-bne uses nybin * Add --vercmp option for proone-bne to test M2M bin update * Refactor proone-htbtclient * Protocol change: prne_htbt_bin_meta.alloc_len is now size_t * Add convenience functions: prne_realloc_str(), prne_redup_str()
Diffstat (limited to 'src/pack.h')
-rw-r--r--src/pack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h
index 82dfdf0..30a86b8 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -62,7 +62,7 @@ struct prne_rcb_param {
const uint8_t *m_dv;
size_t dv_len;
const prne_bin_archive_t *ba;
- prne_bin_host_t self;
+ const prne_bin_host_t *self;
};
static const char PRNE_PACK_BA_IDEN_DATA[] = { 'p', 'r', '-', 'b', 'a' };