~ubuntu-branches/ubuntu/natty/gnome-keyring/natty

« back to all changes in this revision

Viewing changes to daemon/gkr-daemon.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-02-16 19:00:06 UTC
  • mfrom: (1.1.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20100216190006-cqpnic4zxlkmmi0o
Tags: 2.29.90git20100218-0ubuntu1
Updated to a git snapshot version

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
3
 
 
4
 
   Copyright (C) 2003 Red Hat, Inc
5
 
 
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.
10
 
  
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.
15
 
  
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.
19
 
 
20
 
   Author: Alexander Larsson <alexl@redhat.com>
21
 
*/
22
 
 
23
 
#ifndef GNOME_KEYRING_DAEMON_H
24
 
#define GNOME_KEYRING_DAEMON_H
25
 
 
26
 
#include <time.h>
27
 
#include <sys/types.h>
28
 
#include <glib.h>
29
 
 
30
 
#include "egg/egg-buffer.h"
31
 
 
32
 
#include "keyrings/gkr-keyring.h"
33
 
#include "keyrings/gkr-keyring-item.h"
34
 
 
35
 
#include "library/gnome-keyring.h"
36
 
#include "library/gnome-keyring-private.h"
37
 
 
38
 
 
39
 
typedef struct {
40
 
        GnomeKeyringApplicationRef *app_ref;
41
 
} GkrKeyringRequest;    
42
 
 
43
 
typedef gboolean (*GkrDaemonOperation) (EggBuffer *packet, EggBuffer *result,
44
 
                                        GkrKeyringRequest *req);
45
 
 
46
 
extern GkrDaemonOperation keyring_ops[];
47
 
 
48
 
void           gkr_daemon_quit (void);
49
 
 
50
 
void           gkr_daemon_complete_initialization (void);
51
 
 
52
 
gboolean       gkr_daemon_io_create_master_socket (void);
53
 
 
54
 
const gchar*   gkr_daemon_io_get_socket_path      (void);
55
 
 
56
 
void           gkr_daemon_dbus_initialize         (void);
57
 
 
58
 
#endif /* GNOME_KEYRING_DAEMON_H */