summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-09-18 15:29:47 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-09-18 15:38:16 +0200
commitd7e2022bdd1626fbcb614710bec20b4a42278f9a (patch)
treedbb7b32f9ce1e887b3882fff84a0199b0b324a91 /src/dbi.h
parent3cb98c7187b3f9b9bc02f202cbed3181a82fde76 (diff)
#941 pass og_dbi to og_dbi_get_computer_info()
Reuse the existing dbi handler, instead of opening a new one.
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 1d11aa2..ec7c042 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -58,6 +58,7 @@ struct og_computer {
};
struct in_addr;
-int og_dbi_get_computer_info(struct og_computer *computer, struct in_addr addr);
+int og_dbi_get_computer_info(struct og_dbi *dbi, struct og_computer *computer,
+ struct in_addr addr);
#endif