summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-06-30 17:42:04 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-06-30 17:42:04 +0200
commitb644ad1e65198fb556b84bc38600ff484374ad2c (patch)
treeb30c1d53d450beab6c738c1cfc81ede87b9a1257 /inc
parentc50ea5b03387781e2f8d228553d4aedbfe3907b5 (diff)
downloadabrt-b644ad1e65198fb556b84bc38600ff484374ad2c.tar.gz
abrt-b644ad1e65198fb556b84bc38600ff484374ad2c.tar.xz
abrt-b644ad1e65198fb556b84bc38600ff484374ad2c.zip
added support for package specific actions
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);