diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:53:44 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:53:44 +0900 |
commit | 0254042972e8b301303ad00678e5388e7722b440 (patch) | |
tree | 3e9f1f5ac6f74d12d02b64613caa2704a681718c /doc | |
parent | ef6e8f8da0690f0e11c12eff0f6e7fa97c109d54 (diff) | |
download | libsolv-0254042972e8b301303ad00678e5388e7722b440.tar.gz libsolv-0254042972e8b301303ad00678e5388e7722b440.tar.bz2 libsolv-0254042972e8b301303ad00678e5388e7722b440.zip |
Imported Upstream version 0.6.7upstream/0.6.7
Change-Id: I4903b1e04cf23c0c38f633e48a06732764ee6444
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libsolv-pool.3 | 10 | ||||
-rw-r--r-- | doc/libsolv-pool.txt | 7 |
2 files changed, 9 insertions, 8 deletions
diff --git a/doc/libsolv-pool.3 b/doc/libsolv-pool.3 index 0db9f8d..1d0e84d 100644 --- a/doc/libsolv-pool.3 +++ b/doc/libsolv-pool.3 @@ -2,12 +2,12 @@ .\" Title: Libsolv-Pool .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/> -.\" Date: 09/20/2013 +.\" Date: 10/09/2014 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-POOL" "3" "09/20/2013" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-POOL" "3" "10/09/2014" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -363,13 +363,13 @@ Make the addfileprovides method only add files from the standard locations (i\&. .RS 4 .\} .nf -\fBvoid pool_setdisttype(Pool *\fR\fIpool\fR\fB, int\fR \fIdisttype\fR\fB)\fR; +\fBint pool_setdisttype(Pool *\fR\fIpool\fR\fB, int\fR \fIdisttype\fR\fB)\fR; .fi .if n \{\ .RE .\} .sp -Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. +Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. The Function returns the old disttype on success, and \-1 if the new disttype is not supported\&. .sp .if n \{\ .RS 4 @@ -1241,7 +1241,7 @@ There can be multiple equivalence classes, the set of allowed vendor changes for You can turn off the architecture replacement checks with the Solver\(cqs SOLVER_FLAG_ALLOW_VENDORCHANGE flag\&. .SH "BOOLEAN DEPENDENCIES" .sp -Boolean Dependencies allow to build complex expressions from simple dependencies\&. While rpm does not support boolean expressions in dependencies and debian only allows an "OR" expression, libsolv allows one to arbitrary complex expressions\&. The following basic types are supported: +Boolean Dependencies allow to build complex expressions from simple dependencies\&. While rpm does not support boolean expressions in dependencies and debian only allows an "OR" expression, libsolv allows arbitrary complex expressions\&. The following basic types are supported: .PP \fBREL_OR\fR .RS 4 diff --git a/doc/libsolv-pool.txt b/doc/libsolv-pool.txt index 9740b24..8567cbf 100644 --- a/doc/libsolv-pool.txt +++ b/doc/libsolv-pool.txt @@ -262,13 +262,14 @@ generates. === Functions === - void pool_setdisttype(Pool *pool, int disttype); + int pool_setdisttype(Pool *pool, int disttype); Set the package type of your system. The disttype is used for example to define package comparison semantics. Libsolv's default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging -problems for different systems. +problems for different systems. The Function returns the old +disttype on success, and -1 if the new disttype is not supported. int pool_set_flag(Pool *pool, int flag, int value); @@ -813,7 +814,7 @@ Boolean Dependencies Boolean Dependencies allow to build complex expressions from simple dependencies. While rpm does not support boolean expressions in dependencies and debian only allows an "OR" expression, libsolv -allows to arbitrary complex expressions. The following basic types +allows arbitrary complex expressions. The following basic types are supported: *REL_OR*:: |