From 6bd15469b1febef5d061905b0f7d8f69bf96a08f Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Mon, 26 Dec 2005 16:48:37 +0000 Subject: renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz --- lib/libalpm/versioncmp.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lib/libalpm/versioncmp.h (limited to 'lib/libalpm/versioncmp.h') 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 + * + * 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: */ -- cgit v1.2.3-70-g09d2