More stuff
[oweals/busybox.git] / internal.h
index 9b230a3358a3fa2c022a4e7d53aae87ed309dc00..0caaf5cb45cd693087d6748c60d4504286fe5d8f 100644 (file)
@@ -1,7 +1,6 @@
 /*
- * Busybox main header file
+ * Busybox main internal header file
  *
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -128,16 +127,21 @@ char *chunkstrdup(const char *str);
 void freeChunks(void);
 int fullWrite(int fd, const char *buf, int len);
 int fullRead(int fd, char *buf, int len);
-int recursiveAction(const char *fileName, int recurse, int followLinks, int delayDirAction,
+int recursiveAction(const char *fileName, int recurse, int followLinks, int depthFirst,
          int (*fileAction) (const char *fileName, struct stat* statbuf),
          int (*dirAction) (const char *fileName, struct stat* statbuf));
-int match(const char* text, const char * pattern);
 const char* timeString(time_t timeVal);
 
 extern void createPath (const char *name, int mode);
 extern int parse_mode( const char* s, mode_t* theMode);
 extern volatile void usage(const char *usage);
 
+extern uid_t my_getpwnam(char *name);
+extern gid_t my_getgrnam(char *name); 
+extern void my_getpwuid(char* name, uid_t uid);
+extern void my_getgrgid(char* group, gid_t gid);
+extern int get_kernel_revision();
+
 
 
 #if defined (BB_FSCK_MINIX) || defined (BB_MKFS_MINIX)
@@ -161,8 +165,9 @@ static inline int clrbit(char * addr,unsigned int nr)
   return __res != 0;
 }
 
-#endif
+#endif /* inline bitops junk */
+
 
 
-#endif
+#endif /* _INTERNAL_H_ */