diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-11-26 12:15:12 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-11-26 12:15:12 +0100 |
commit | f2edcbb9d9f06dd7bf172efaa7a68d99ac0f24ea (patch) | |
tree | 7b543aee2d6f6090df0b803b17e72e9524eafa9b /util.h | |
parent | ac1ae80f3d1998d3ce3c7fa1ca933e2cda5d20fd (diff) |
sfeed_curses: reuse some functions in util
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,6 +9,8 @@ #define unveil(p1,p2) 0 #endif +#undef strcasestr +char *strcasestr(const char *, const char *); #undef strlcat size_t strlcat(char *, const char *, size_t); #undef strlcpy @@ -19,6 +21,9 @@ struct feed { char *name; /* feed name */ unsigned long totalnew; /* amount of new items per feed */ unsigned long total; /* total items */ + /* sfeed_curses */ + char *path; /* path to feed or NULL for stdin */ + FILE *fp; /* file pointer */ }; /* URI */ |