aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Woodward2005-10-05 22:01:56 +0000
committerJason Woodward2005-10-05 22:01:56 +0000
commit3cc5c43db8d55d8f6a84f57b9f447c7b89cd4269 (patch)
treec8dd4383e99111657b911371f8a39f5bacc8233c /doc
parentfb6dff2bbda765ba8e068ddd0523fd3e81ef1c47 (diff)
downloadslapt-get-3cc5c43db8d55d8f6a84f57b9f447c7b89cd4269.tar.gz
various code changes
Diffstat (limited to 'doc')
-rw-r--r--doc/libslapt.314
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index 3baf80c..ad039e8 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -57,9 +57,10 @@ slapt-get stores the configuration information in a \fIslapt_rc_config\fP object
.nf
typedef struct {
- struct slapt_source_list *sources;
char working_dir[WORKINGDIR_TOKEN_LEN];
+ struct slapt_source_list *sources;
struct slapt_exclude_list *exclude_list;
+ int (*progress_cb) (void *,double,double,double,double);
SLAPT_BOOL_T download_only;
SLAPT_BOOL_T dist_upgrade;
SLAPT_BOOL_T simulate;
@@ -74,7 +75,6 @@ slapt-get stores the configuration information in a \fIslapt_rc_config\fP object
SLAPT_BOOL_T remove_obsolete;
SLAPT_BOOL_T no_upgrade;
unsigned int retry;
- int (*progress_cb) (void *,double,double,double,double);
} slapt_rc_config;
.fi
@@ -128,18 +128,18 @@ slapt-get stores packages within \fIslapt_pkg_info_t\fP objects.
.sp
.nf
typedef struct {
+ char md5[SLAPT_MD5_STR_LEN];
char *name;
char *version;
char *mirror;
char *location;
- unsigned int size_c;
- unsigned int size_u;
char *description;
char *required;
char *conflicts;
char *suggests;
- char md5[SLAPT_MD5_STR_LEN];
char *file_ext;
+ unsigned int size_c;
+ unsigned int size_u;
} slapt_pkg_info_t;
.fi
.sp
@@ -230,8 +230,8 @@ The following functions deal with determining package dependencies and conflicts
} slapt_pkg_err_t;
.sp
struct slapt_pkg_err_list {
- unsigned int err_count;
slapt_pkg_err_t **errs;
+ unsigned int err_count;
};
.sp
.B "struct slapt_pkg_err_list *slapt_init_pkg_err_list(void);"
@@ -423,9 +423,9 @@ Miscellaneous functionality within libslapt.
.sp
.nf
typedef struct {
+ regmatch_t pmatch[SLAPT_MAX_REGEX_PARTS];
regex_t regex;
size_t nmatch;
- regmatch_t pmatch[SLAPT_MAX_REGEX_PARTS];
int reg_return;
} slapt_regex_t;
.sp