razor-internal.h
author Dan Winship <danw@gnome.org>
Mon Feb 04 14:25:45 2008 -0500 (2008-02-04)
changeset 109 313b0a615c14
child 186 7f45d0401e37
permissions -rw-r--r--
Support for less/equal/greater version in requires/conflicts, etc

Add less/equal/greater information to razor_property, and update
importers and other code.

Move the rpm importer from import.c to rpm.c to avoid code
duplication, and then rename import.c to yum.c since that's all that's
left.
krh@91
     1
#ifndef _RAZOR_INTERNAL_H_
krh@91
     2
#define _RAZOR_INTERNAL_H_
krh@91
     3
krh@91
     4
#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
krh@91
     5
krh@91
     6
/* Utility functions */
krh@91
     7
krh@91
     8
int razor_create_dir(const char *root, const char *path);
krh@91
     9
int razor_write(int fd, const void *data, size_t size);
krh@91
    10
krh@91
    11
#endif /* _RAZOR_INTERNAL_H_ */