Move names_to_pid from pending to lib.
diff --git a/lib/lib.h b/lib/lib.h
index 6edfa0f..3d32649 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -177,5 +177,6 @@
 
 mode_t string_to_mode(char *mode_str, mode_t base);
 void mode_to_string(mode_t mode, char *buf);
+void names_to_pid(char **names, int (*callback)(pid_t pid, char *name));
 
 #include "lib/pending.h"