Line data Source code
1 : /*
2 : * gnome-keyring
3 : *
4 : * Copyright (C) 2014 Stef 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 __GKD_SSH_AGENT_PROCESS_H__
25 : #define __GKD_SSH_AGENT_PROCESS_H__
26 :
27 : #include <gio/gio.h>
28 :
29 : #include "egg/egg-buffer.h"
30 :
31 : #define GKD_TYPE_SSH_AGENT_PROCESS gkd_ssh_agent_process_get_type ()
32 0 : G_DECLARE_FINAL_TYPE(GkdSshAgentProcess, gkd_ssh_agent_process, GKD, SSH_AGENT_PROCESS, GObject)
33 :
34 : GkdSshAgentProcess *gkd_ssh_agent_process_new (const gchar *path);
35 : GSocketConnection *gkd_ssh_agent_process_connect (GkdSshAgentProcess *self,
36 : GCancellable *cancellable,
37 : GError **error);
38 : GPid gkd_ssh_agent_process_get_pid (GkdSshAgentProcess *self);
39 :
40 : #endif /* __GKD_SSH_AGENT_PROCESS_H__ */
|