Branch data Line data Source code
1 : : /* 2 : : * gnome-keyring 3 : : * 4 : : * Copyright (C) 2007 Stefan Walter 5 : : * Copyright (C) 2018 Red Hat, Inc. 6 : : * 7 : : * This program is free software; you can redistribute it and/or modify 8 : : * it under the terms of the GNU Lesser General Public License as 9 : : * published by the Free Software Foundation; either version 2.1 of 10 : : * the License, or (at your option) any later version. 11 : : * 12 : : * This program is distributed in the hope that it will be useful, but 13 : : * WITHOUT ANY WARRANTY; without even the implied warranty of 14 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 : : * Lesser General Public License for more details. 16 : : * 17 : : * You should have received a copy of the GNU Lesser General Public 18 : : * License along with this program; if not, see 19 : : * <http://www.gnu.org/licenses/>. 20 : : * 21 : : * Author: Stef Walter <stef@thewalter.net>, Daiki Ueno 22 : : */ 23 : : 24 : : #ifndef GCR_SSH_AGENT_SERVICE_H 25 : : #define GCR_SSH_AGENT_SERVICE_H 26 : : 27 : : #include <gio/gio.h> 28 : : #include "gcr-ssh-agent-preload.h" 29 : : #include "gcr-ssh-agent-process.h" 30 : : #include "egg/egg-buffer.h" 31 : : 32 : : #define GCR_TYPE_SSH_AGENT_SERVICE gcr_ssh_agent_service_get_type () 33 : 91 : G_DECLARE_FINAL_TYPE (GcrSshAgentService, gcr_ssh_agent_service, GCR, SSH_AGENT_SERVICE, GObject); 34 : : 35 : : GcrSshAgentService *gcr_ssh_agent_service_new (const gchar *path, 36 : : GcrSshAgentPreload *preload); 37 : : 38 : : gboolean gcr_ssh_agent_service_start 39 : : (GcrSshAgentService *self); 40 : : 41 : : void gcr_ssh_agent_service_stop (GcrSshAgentService *self); 42 : : 43 : : GcrSshAgentPreload *gcr_ssh_agent_service_get_preload 44 : : (GcrSshAgentService *self); 45 : : 46 : : GcrSshAgentProcess *gcr_ssh_agent_service_get_process 47 : : (GcrSshAgentService *self); 48 : : 49 : : gboolean gcr_ssh_agent_service_lookup_key 50 : : (GcrSshAgentService *self, 51 : : GBytes *key); 52 : : 53 : : #endif /* GCR_SSH_AGENT_SERVICE_H */