chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
importd: add new bus calls for importing local tar and raw images
[elogind.git]
/
src
/
journal
/
journal-def.h
diff --git
a/src/journal/journal-def.h
b/src/journal/journal-def.h
index ecfa9a2b16a67959644f55affd542dafb340e503..ab089cb966b960eab97338b8fd07cca50613503c 100644
(file)
--- a/
src/journal/journal-def.h
+++ b/
src/journal/journal-def.h
@@
-23,7
+23,7
@@
#include "sparse-endian.h"
#include "sparse-endian.h"
-#include
<systemd/sd-id128.h>
+#include
"systemd/sd-id128.h"
#include "macro.h"
#include "macro.h"
@@
-52,8
+52,8
@@
typedef struct HashItem HashItem;
typedef struct FSSHeader FSSHeader;
/* Object types */
typedef struct FSSHeader FSSHeader;
/* Object types */
-
enum
{
- OBJECT_UNUSED,
+
typedef enum ObjectType
{
+ OBJECT_UNUSED,
/* also serves as "any type" or "additional context" */
OBJECT_DATA,
OBJECT_FIELD,
OBJECT_ENTRY,
OBJECT_DATA,
OBJECT_FIELD,
OBJECT_ENTRY,
@@
-62,7
+62,7
@@
enum {
OBJECT_ENTRY_ARRAY,
OBJECT_TAG,
_OBJECT_TYPE_MAX
OBJECT_ENTRY_ARRAY,
OBJECT_TAG,
_OBJECT_TYPE_MAX
-};
+}
ObjectType
;
/* Object flags */
enum {
/* Object flags */
enum {
@@
-180,7
+180,7
@@
enum {
};
#define HEADER_COMPATIBLE_ANY HEADER_COMPATIBLE_SEALED
};
#define HEADER_COMPATIBLE_ANY HEADER_COMPATIBLE_SEALED
-#if HAVE_GCRYPT
+#if
def
HAVE_GCRYPT
# define HEADER_COMPATIBLE_SUPPORTED HEADER_COMPATIBLE_SEALED
#else
# define HEADER_COMPATIBLE_SUPPORTED 0
# define HEADER_COMPATIBLE_SUPPORTED HEADER_COMPATIBLE_SEALED
#else
# define HEADER_COMPATIBLE_SUPPORTED 0