#include <sys/types.h>
#include <unistd.h>
#include <stdint.h>
+#include <getopt.h>
#define KIBI_LOG2 10
#define MEBI_LOG2 20
#define GIBI_LOG2 30
-char *utils_resolve_relative(const char *path);
char *utils_partial_realpath(const char *path, char *resolved_path,
size_t size);
char *utils_expand_path(const char *path);
int utils_parse_size_suffix(char *str, uint64_t *size);
int utils_get_count_order_u32(uint32_t x);
char *utils_get_home_dir(void);
+char *utils_get_user_home_dir(uid_t uid);
size_t utils_get_current_time_str(const char *format, char *dst, size_t len);
gid_t utils_get_group_id(const char *name);
+char *utils_generate_optstring(const struct option *long_options,
+ size_t opt_count);
#endif /* _COMMON_UTILS_H */