From db769f667d93d9127b570570564589337c793fbe Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 15 Oct 2006 21:06:08 +0000 Subject: Added alpm function docs along pacman.c : Removed link to frugalware wiki sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE) --- doc/man3/alpm_options.3 | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 doc/man3/alpm_options.3 (limited to 'doc/man3/alpm_options.3') diff --git a/doc/man3/alpm_options.3 b/doc/man3/alpm_options.3 new file mode 100644 index 00000000..c43a3039 --- /dev/null +++ b/doc/man3/alpm_options.3 @@ -0,0 +1,57 @@ +.TH "Library Options" 3 "16 Oct 2006" "libalpm" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Library Options \- Functions to set and get libalpm options. + +.PP +.SS "Functions" + +.in +1c +.ti -1c +.RI "int \fBalpm_set_option\fP (unsigned char parm, unsigned long data)" +.br +.ti -1c +.RI "int \fBalpm_get_option\fP (unsigned char parm, long *data)" +.br +.in -1c +.SH "Detailed Description" +.PP +Functions to set and get libalpm options. +.PP +.SH "Function Documentation" +.PP +.SS "int alpm_get_option (unsigned char parm, long * data)" +.PP +Get the value of a library option. +.PP +\fBParameters:\fP +.RS 4 +\fIparm\fP the parameter to get +.br +\fIdata\fP pointer argument to get the value in +.RE +.PP +\fBReturns:\fP +.RS 4 +0 on success, -1 on error (pm_errno is set accordingly) +.RE +.PP + +.SS "int alpm_set_option (unsigned char parm, unsigned long data)" +.PP +Set a library option. +.PP +\fBParameters:\fP +.RS 4 +\fIparm\fP the name of the parameter +.br +\fIdata\fP the value of the parameter +.RE +.PP +\fBReturns:\fP +.RS 4 +0 on success, -1 on error (pm_errno is set accordingly) +.RE +.PP + -- cgit v1.2.3-2-g168b