Patch from #77849
[platform/upstream/rpm.git] / tools / utils.h
1 #ifndef UTILS_H
2 #define UTILS_H
3
4 #include <stdlib.h>
5
6 char *strconcat (const char *string1, ...);
7 off_t align_up (off_t offset, size_t alignment);
8 int string_has_prefix (char *string, char *prefix);
9 unsigned int crc32_file (const char *filename);
10 char *path_basename (const char *filename);
11
12 #endif /* UTILS_H */