From 35e56c6149eaa1f276aa7bb669c09d538475d532 Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Sun, 28 May 2023 10:04:49 -0400 Subject: [PATCH] add placeholder funcs for ftp db --- cme/protocols/ftp/database.py | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/cme/protocols/ftp/database.py b/cme/protocols/ftp/database.py index 4277c990..3943659e 100644 --- a/cme/protocols/ftp/database.py +++ b/cme/protocols/ftp/database.py @@ -93,3 +93,56 @@ class database: def clear_database(self): for table in self.metadata.sorted_tables: self.sess.execute(table.delete()) + + def add_host(self, host, port, banner): + pass + + def add_credential(self, username, password): + pass + + def remove_credential(self): + pass + + def is_credential_valid(self): + pass + + def get_credentials(self): + pass + + def get_credentials(self): + pass + + def is_host_valid(self): + pass + + def get_host(self): + pass + + def is_user_valid(self): + pass + + def get_user(self): + pass + + def get_users(self): + pass + + def add_loggedin_relation(self, credid, hostid): + pass + + def get_loggedin_relations(self): + pass + + def remove_loggedin_relations(self): + pass + + def add_directory_listing(self, lir_id, data): + pass + + def get_directory_listing(self): + pass + + def remove_directory_listing(self): + pass + +