2
#ifndef __SEAHORSE_TYPES_H__
3
#define __SEAHORSE_TYPES_H__
6
#include <glib-object.h>
11
#define SEAHORSE_TYPE_LOCATION (seahorse_location_get_type ())
13
#define SEAHORSE_TYPE_USAGE (seahorse_usage_get_type ())
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'.
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
27
/* Again, never change these values */
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
39
GType seahorse_location_get_type (void);
40
GType seahorse_usage_get_type (void);