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

« back to all changes in this revision

Viewing changes to daemon/gkd-util.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
/* gkd-util.h - Helper utilities for the daemon
 
3
 
 
4
   Copyright (C) 2008, Stefan Walter
 
5
 
 
6
   The Gnome Keyring Library is free software; you can redistribute it and/or
 
7
   modify it under the terms of the GNU Library 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
   The Gnome Keyring Library 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
   Library General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU Library General Public
 
17
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
 
18
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.
 
20
 
 
21
   Author: Stef Walter <stef@memberwebs.com>
 
22
*/
 
23
 
 
24
#ifndef GKD_UTIL_H_
 
25
#define GKD_UTIL_H_
 
26
 
 
27
#include <glib.h>
 
28
 
 
29
#define         GKD_UTIL_ENV_CONTROL             "GNOME_KEYRING_CONTROL"
 
30
 
 
31
extern const gchar *GKD_UTIL_OUT_ENVIRONMENT[];
 
32
extern const gchar *GKD_UTIL_IN_ENVIRONMENT[];
 
33
 
 
34
void            gkd_util_init_master_directory   (const gchar *replace);
 
35
 
 
36
const gchar*    gkd_util_get_master_directory    (void);
 
37
 
 
38
void            gkd_util_push_environment        (const gchar *name,
 
39
                                                  const gchar *value);
 
40
 
 
41
void            gkd_util_push_environment_full   (const gchar *env);
 
42
 
 
43
void            gkd_util_watch_environment       (GFunc func,
 
44
                                                  gpointer user_data,
 
45
                                                  GDestroyNotify destroy_notify);
 
46
 
 
47
const gchar**   gkd_util_get_environment         (void);
 
48
 
 
49
gchar**         gkd_util_build_environment       (const gchar **names);
 
50
 
 
51
#endif /*GKD_UTIL_H_*/