repo: Factor out setting up a GPG verifier
Moved out setting up a GPG verifier to a separate function, as I would like to use it for the any data verification function in the following commit. Closes: #310 Approved by: cgwalters
This commit is contained in:
1 parent
582169f83e
commit
27f0c6980a
2 files changed
+52
-26
No files matched your search
@@ -35,6 +35,11 @@ G_BEGIN_DECLS
|
||||
|
||||
typedef struct OstreeGpgVerifier OstreeGpgVerifier;
|
||||
|
||||
/* If this type becomes public in future, move this autoptr cleanup
|
||||
* definition to the ostree-autocleanups.h header file. Right now it
|
||||
* relies on glnx's fallback definition of the macro. */
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifier, g_object_unref)
|
||||
|
||||
GType _ostree_gpg_verifier_get_type (void);
|
||||
|
||||
OstreeGpgVerifier *_ostree_gpg_verifier_new (void);
|
||||
|
||||
Reference in new issue
Block a user