1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
/* gnome-keyring-daemon.h - common includes for the keyring daemon code
4
Copyright (C) 2003 Red Hat, Inc
6
Gnome keyring is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public License as
8
published by the Free Software Foundation; either version 2 of the
9
License, or (at your option) any later version.
11
Gnome keyring is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
Author: Alexander Larsson <alexl@redhat.com>
23
#ifndef GNOME_KEYRING_DAEMON_H
24
#define GNOME_KEYRING_DAEMON_H
27
#include <sys/types.h>
30
#include "egg/egg-buffer.h"
32
#include "keyrings/gkr-keyring.h"
33
#include "keyrings/gkr-keyring-item.h"
35
#include "library/gnome-keyring.h"
36
#include "library/gnome-keyring-private.h"
40
GnomeKeyringApplicationRef *app_ref;
43
typedef gboolean (*GkrDaemonOperation) (EggBuffer *packet, EggBuffer *result,
44
GkrKeyringRequest *req);
46
extern GkrDaemonOperation keyring_ops[];
48
void gkr_daemon_quit (void);
50
void gkr_daemon_complete_initialization (void);
52
gboolean gkr_daemon_io_create_master_socket (void);
54
const gchar* gkr_daemon_io_get_socket_path (void);
56
void gkr_daemon_dbus_initialize (void);
58
#endif /* GNOME_KEYRING_DAEMON_H */