From b644ad1e65198fb556b84bc38600ff484374ad2c Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 30 Jun 2010 17:42:04 +0200 Subject: added support for package specific actions --- inc/abrtlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') 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); -- cgit