diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-19 10:30:46 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-23 13:51:07 +0200 |
commit | 5d97a721d0d475ea86e9d503a2e413e22f53492b (patch) | |
tree | ddc362e3525685cbfa00b21e1dc1c41febb157bf /src/dbi.h | |
parent | ad31c3832d08fa1aca7bb473141cd5265e6f670d (diff) |
ogAdmServer: replace old actualizaConfiguracion
Reimplement the legacy funcion actualizaConfiguracion with
og_update_client_config in src/client.c
if disk does not exist, add it, otherwise update disk contents.
if partition size, code, filesystem or os is different, reset image id,
otherwise update partition usage only.
delete partitions that are gone at the end.
Diffstat (limited to 'src/dbi.h')
-rw-r--r-- | src/dbi.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -142,5 +142,6 @@ int og_dbi_get_repository_ip(const struct og_dbi *dbi, const uint32_t repo_id, const char *client_ip, char *repository_ip); int og_dbi_get_server_ip(const struct og_dbi *dbi, const char *client_ip, char *server_ip); +int og_dbi_get_os_id(const struct og_dbi *dbi, const char *os_name, uint32_t *os_id); #endif |