Author: schubi2
Date: Tue Feb 12 10:42:06 2008
New Revision: 8616
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8616&view=rev
Log:
- Moving helix parser to the API
- deptestomatic: Using helix-file for fallback if the solv-file does not
exist.
Added:
trunk/sat-solver/src/repo_helix.c
- copied unchanged from r8610, trunk/sat-solver/tools/repo_helix.c
trunk/sat-solver/src/repo_helix.h
- copied, changed from r8610, trunk/sat-solver/tools/repo_helix.h
Removed:
trunk/sat-solver/tools/repo_helix.c
trunk/sat-solver/tools/repo_helix.h
Modified:
trunk/sat-solver/src/CMakeLists.txt
trunk/sat-solver/testsuite/deptestomatic.c
trunk/sat-solver/tools/CMakeLists.txt
Modified: trunk/sat-solver/src/CMakeLists.txt
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/CMakeLists.txt?rev=8616&r1=8615&r2=8616&view=diff
==============================================================================
--- trunk/sat-solver/src/CMakeLists.txt (original)
+++ trunk/sat-solver/src/CMakeLists.txt Tue Feb 12 10:42:06 2008
@@ -1,10 +1,10 @@
SET(libsatsolver_SRCS bitmap.c poolarch.c poolvendor.c poolid.c strpool.c dirpool.c
-solver.c repo_solv.c evr.c pool.c queue.c repo.c repodata.c util.c policy.c)
+solver.c repo_solv.c repo_helix.c evr.c pool.c queue.c repo.c repodata.c util.c policy.c)
ADD_LIBRARY(satsolver STATIC ${libsatsolver_SRCS})
-SET(libsatsolver_HEADERS bitmap.h evr.h hash.h policy.h poolarch.h poolvendor.h pool.h poolid.h pooltypes.h queue.h solvable.h solver.h repo.h repodata.h repo_solv.h util.h strpool.h dirpool.h)
+SET(libsatsolver_HEADERS bitmap.h evr.h hash.h policy.h poolarch.h poolvendor.h pool.h poolid.h pooltypes.h queue.h solvable.h solver.h repo.h repodata.h repo_solv.h repo_helix.h util.h strpool.h dirpool.h)
SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
Copied: trunk/sat-solver/src/repo_helix.h (from r8610, trunk/sat-solver/tools/repo_helix.h)
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo_helix.h?p2=trunk/sat-solver/src/repo_helix.h&p1=trunk/sat-solver/tools/repo_helix.h&r1=8610&r2=8616&rev=8616&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_helix.h (original)
+++ trunk/sat-solver/src/repo_helix.h Tue Feb 12 10:42:06 2008
@@ -10,8 +10,12 @@
*
*/
-#ifndef REPO_HELIX_H
-#define REPO_HELIX_H
+#ifndef SATSOLVER_REPO_HELIX_H
+#define SATSOLVER_REPO_HELIX_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#include