#ifndef KILL_H #define KILL_H #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef I18N_H #define I18N_H #ifdef HAVE_CONFIG_H #include #endif #ifdef ENABLE_NLS #include #include #define _(String) gettext (String) #else #define _(String) (String) #endif #endif #ifndef HAVE_RPMATCH #define rpmatch(line) \ ( (line == NULL)? -1 : \ (*line == 'y' || *line == 'Y')? 1 : \ (*line == 'n' || *line == 'N')? 0 : \ -1 ) #endif #define COMM_LEN 64 #define PROC_BASE "/proc" #define NUM_NS 6 int kill_all (int signal, int name_count, char **namelist, struct passwd *pwent); #endif