razor-internal.h
author Kristian H?gsberg <krh@redhat.com>
Thu Jan 10 22:50:51 2008 -0500 (2008-01-10)
changeset 97 41bf485e6154
child 186 7f45d0401e37
permissions -rw-r--r--
Implement razor_set_get_package() using the package iterator.

Drop bsearch and qsort with data TODO items.
     1 #ifndef _RAZOR_INTERNAL_H_
     2 #define _RAZOR_INTERNAL_H_
     3 
     4 #define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
     5 
     6 /* Utility functions */
     7 
     8 int razor_create_dir(const char *root, const char *path);
     9 int razor_write(int fd, const void *data, size_t size);
    10 
    11 #endif /* _RAZOR_INTERNAL_H_ */