summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-06-04 11:23:56 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2010-06-04 11:25:13 +0200
commitd5f79e3b0bd7cccab80411b0fc0731b08c30064e (patch)
tree7aff4e6de0b941d196ae5fa63d32013fb7b3c9bc /inc
parent1459f9ec6a7fd62780dae9230c4a5d625a8a7a9a (diff)
downloadabrt-d5f79e3b0bd7cccab80411b0fc0731b08c30064e.tar.gz
abrt-d5f79e3b0bd7cccab80411b0fc0731b08c30064e.tar.xz
abrt-d5f79e3b0bd7cccab80411b0fc0731b08c30064e.zip
new fuctions and realloc replaced by xrealloc
new functions are prefixcmp and suffixcmp Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 4c4aa6b9..ffa66363 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -98,6 +98,9 @@ extern int g_verbose;
char* skip_whitespace(const char *s);
char* skip_non_whitespace(const char *s);
+int prefixcmp(const char *str, const char *prefix);
+int suffixcmp(const char *str, const char *suffix);
+
unsigned xatou(const char *numstr);
int xatoi(const char *numstr);