diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-09-18 15:17:43 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-09-18 15:34:30 +0200 |
commit | 3cb98c7187b3f9b9bc02f202cbed3181a82fde76 (patch) | |
tree | 6aa38cc3cb484a90327163d782e564b97019aada /src/dbi.h | |
parent | 540cfb597f080c31533abef5e4a4cf36b6eef413 (diff) |
#941 move og_dbi_get_computer_info() to dbi
Move this function to the dbi.{h,c} files.
Diffstat (limited to 'src/dbi.h')
-rw-r--r-- | src/dbi.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -49,4 +49,15 @@ struct og_legacy_partition { extern struct og_dbi_config dbi_config; +struct og_computer { + unsigned int id; + unsigned int center; + unsigned int room; + char name[OG_DB_COMPUTER_NAME_MAXLEN + 1]; + unsigned int procedure_id; +}; + +struct in_addr; +int og_dbi_get_computer_info(struct og_computer *computer, struct in_addr addr); + #endif |