X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=d584a65979baba01b64c4753df6a75f79f77ad91;hp=5b060ef74f8e0a98725553d606170c46da3da837;hb=6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f;hpb=b91a3b02f3be899dd8a2ae22df5be8de78f5a175;ds=sidebyside diff --git a/src/shared/util.h b/src/shared/util.h index 5b060ef74..d584a6597 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -681,14 +681,16 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, bool is_locale_utf8(void); typedef enum DrawSpecialChar { - DRAW_TREE_VERT, + DRAW_TREE_VERTICAL, DRAW_TREE_BRANCH, DRAW_TREE_RIGHT, DRAW_TREE_SPACE, DRAW_TRIANGULAR_BULLET, DRAW_BLACK_CIRCLE, + DRAW_ARROW, _DRAW_SPECIAL_CHAR_MAX } DrawSpecialChar; + const char *draw_special_char(DrawSpecialChar ch); char *strreplace(const char *text, const char *old_string, const char *new_string);