diff options
author | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
commit | 6bd15469b1febef5d061905b0f7d8f69bf96a08f (patch) | |
tree | 11e64825a4aed1d4bfdf7306fdf36215acb57118 /lib/libalpm/versioncmp.h | |
parent | 58c9d5d66387821260ba9bdd0815568039462f39 (diff) | |
download | pacman-6bd15469b1febef5d061905b0f7d8f69bf96a08f.tar.xz |
renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz
Diffstat (limited to 'lib/libalpm/versioncmp.h')
-rw-r--r-- | lib/libalpm/versioncmp.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/libalpm/versioncmp.h b/lib/libalpm/versioncmp.h new file mode 100644 index 00000000..78f553a1 --- /dev/null +++ b/lib/libalpm/versioncmp.h @@ -0,0 +1,28 @@ +/* + * versioncmp.h + * + * Copyright (c) 2002 by Judd Vinet <jvinet@zeroflux.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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + */ +#ifndef _PM_VERSIONCMP_H +#define _PM_VERSIONCMP_H + +int versioncmp(const char *a, const char *b); + +#endif + +/* vim: set ts=2 sw=2 noet: */ |