summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 6800bccf..0e650059 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -163,6 +163,10 @@ char *run_in_shell_and_save_output(int flags,
const char *dir,
size_t *size_p);
+/* cuts the name from the NVR format: foo-1.2.3-1.el6
+ returns a newly allocated string
+*/
+char * get_package_name_from_NVR_or_NULL(const char* package_NVR);
unsigned long long monotonic_ns(void);
unsigned long long monotonic_us(void);