~carifio/seahorse/seahorse-remove-broken-help-buttons

« back to all changes in this revision

Viewing changes to libseahorse/seahorse-types.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-07-22 09:20:59 UTC
  • mto: (3.2.1 sid) (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20080722092059-q336t49r9uaveij3
Tags: upstream-2.23.5
ImportĀ upstreamĀ versionĀ 2.23.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef __SEAHORSE_TYPES_H__
 
3
#define __SEAHORSE_TYPES_H__
 
4
 
 
5
#include <glib.h>
 
6
#include <glib-object.h>
 
7
 
 
8
G_BEGIN_DECLS
 
9
 
 
10
 
 
11
#define SEAHORSE_TYPE_LOCATION (seahorse_location_get_type ())
 
12
 
 
13
#define SEAHORSE_TYPE_USAGE (seahorse_usage_get_type ())
 
14
 
 
15
/* 
 
16
 * These types should never change. These values are exported via DBUS. In the 
 
17
 * case of a key being in multiple locations, the highest location always 'wins'.
 
18
 */
 
19
typedef enum  {
 
20
        SEAHORSE_LOCATION_INVALID = 0,
 
21
        SEAHORSE_LOCATION_MISSING = 10,
 
22
        SEAHORSE_LOCATION_SEARCHING = 20,
 
23
        SEAHORSE_LOCATION_REMOTE = 50,
 
24
        SEAHORSE_LOCATION_LOCAL = 100
 
25
} SeahorseLocation;
 
26
 
 
27
/* Again, never change these values */
 
28
typedef enum  {
 
29
        SEAHORSE_USAGE_NONE = 0,
 
30
        SEAHORSE_USAGE_SYMMETRIC_KEY = 1,
 
31
        SEAHORSE_USAGE_PUBLIC_KEY = 2,
 
32
        SEAHORSE_USAGE_PRIVATE_KEY = 3,
 
33
        SEAHORSE_USAGE_CREDENTIALS = 4,
 
34
        SEAHORSE_USAGE_IDENTITY = 5,
 
35
        SEAHORSE_USAGE_OTHER = 10
 
36
} SeahorseUsage;
 
37
 
 
38
 
 
39
GType seahorse_location_get_type (void);
 
40
GType seahorse_usage_get_type (void);
 
41
 
 
42
 
 
43
G_END_DECLS
 
44
 
 
45
#endif