X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=sprinter.h;fp=sprinter.h;h=9d2e9b6f7140ad4f2aa2eae6d9981cb858d56019;hp=f859672f8b3f23342c25b5d50f6e64437c03dac7;hb=0f314c0c99befea599a68bea51d759b4133efef6;hpb=54aef071590cb23f61da943daa29080cf7446696 diff --git a/sprinter.h b/sprinter.h index f859672f..9d2e9b6f 100644 --- a/sprinter.h +++ b/sprinter.h @@ -1,7 +1,7 @@ #ifndef NOTMUCH_SPRINTER_H #define NOTMUCH_SPRINTER_H -/* Necessary for notmuch_bool_t */ +/* Necessary for bool */ #include "notmuch-client.h" /* Structure printer interface. This is used to create output @@ -34,7 +34,7 @@ typedef struct sprinter { void (*string) (struct sprinter *, const char *); void (*string_len) (struct sprinter *, const char *, size_t); void (*integer) (struct sprinter *, int); - void (*boolean) (struct sprinter *, notmuch_bool_t); + void (*boolean) (struct sprinter *, bool); void (*null) (struct sprinter *); /* Print the key of a map's key/value pair. The char * must be UTF-8 @@ -58,7 +58,7 @@ typedef struct sprinter { /* True if this is the special-cased plain text printer. */ - notmuch_bool_t is_text_printer; + bool is_text_printer; } sprinter_t;