kee

Offline IOU signer with QR as transport
git clone git://holbrook.no/kee-gtk4.git
Info | Log | Files | Refs | README | LICENSE

context.h (587B)


      1 #ifndef _KEE_CONTEXT
      2 #define _KEE_CONTEXT
      3 
      4 #include "kee-entry-store.h"
      5 #include "settings.h"
      6 #include "db.h"
      7 #include "camera.h"
      8 #include "gpg.h"
      9 #include "cadiz.h"
     10 
     11 
     12 struct kee_context {
     13 	void *front;
     14 	struct kee_settings *settings;
     15 	struct kee_camera_devices camera_devices;
     16 	struct db_ctx db;
     17 	struct gpg_store gpg;
     18 	KeeEntryStore *entry_store;
     19 	struct Cadiz resolver;
     20 	int state;
     21 };
     22 
     23 int kee_context_init(struct kee_context *ctx, struct kee_settings *settings);
     24 int kee_context_state(struct kee_context *ctx);
     25 void kee_context_free(struct kee_context *ctx);
     26 
     27 #endif // _KEE_CONTEXT