diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-01-21 02:47:50 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-01-21 02:47:50 -0900 |
| commit | 8c30baee1e514912b0744d67654e8421a175c812 (patch) | |
| tree | 3ea01b773d0e97dd79e4c99a6766bc90c5c45d66 /doc/mans | |
| parent | 51fb7376007ef6a66e5c3bae144022bebfd15639 (diff) | |
| download | tinyrad-8c30baee1e514912b0744d67654e8421a175c812.tar.gz tinyrad-8c30baee1e514912b0744d67654e8421a175c812.tar.bz2 tinyrad-8c30baee1e514912b0744d67654e8421a175c812.tar.xz tinyrad-8c30baee1e514912b0744d67654e8421a175c812.zip | |
doc: adding stub for tinyrad_queue.3
Diffstat (limited to 'doc/mans')
| -rw-r--r-- | doc/mans/tinyrad_queue.3.in | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/doc/mans/tinyrad_queue.3.in b/doc/mans/tinyrad_queue.3.in new file mode 100644 index 0000000..41c72d9 --- /dev/null +++ b/doc/mans/tinyrad_queue.3.in | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | .\" | ||
| 2 | .\" Tiny RADIUS Client Library | ||
| 3 | .\" Copyright (C) 2022 David M. Syzdek <david@syzdek.net>. | ||
| 4 | .\" All rights reserved. | ||
| 5 | .\" | ||
| 6 | .\" Redistribution and use in source and binary forms, with or without | ||
| 7 | .\" modification, are permitted provided that the following conditions are | ||
| 8 | .\" met: | ||
| 9 | .\" | ||
| 10 | .\" * Redistributions of source code must retain the above copyright | ||
| 11 | .\" notice, this list of conditions and the following disclaimer. | ||
| 12 | .\" * Redistributions in binary form must reproduce the above copyright | ||
| 13 | .\" notice, this list of conditions and the following disclaimer in the | ||
| 14 | .\" documentation and/or other materials provided with the distribution. | ||
| 15 | .\" * Neither the name of David M. Syzdek nor the | ||
| 16 | .\" names of its contributors may be used to endorse or promote products | ||
| 17 | .\" derived from this software without specific prior written permission. | ||
| 18 | .\" | ||
| 19 | .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
| 20 | .\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
| 21 | .\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 22 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAVID M. SYZDEK BE LIABLE FOR | ||
| 23 | .\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 24 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| 25 | .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| 26 | .\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 27 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 29 | .\" SUCH DAMAGE. | ||
| 30 | .\" | ||
| 31 | .TH "TINYRAD_ARRAY" "3" "@RELEASE_MONTH@" "@PACKAGE_NAME@" "Library Functions Manual" | ||
| 32 | .SH NAME | ||
| 33 | tinyrad_array_dequeue, tinyrad_array_enqueue, tinyrad_array_peek - Tiny RADIUS queue routines | ||
| 34 | |||
| 35 | .SH LIBRARY | ||
| 36 | TinyRad (libtinyrad, -ltinyrad) | ||
| 37 | |||
| 38 | .SH SYNOPSIS | ||
| 39 | .nf | ||
| 40 | \fB#include\fR \fB<tinyrad.h>\fR | ||
| 41 | .sp | ||
| 42 | .BI "void * tinyrad_array_dequeue( void *" base ", size_t *" nelp ", size_t " width " );" | ||
| 43 | .sp | ||
| 44 | .BI "ssize_t tinyrad_array_enqueue( void **" basep ", size_t *" nelp ", size_t " width "," | ||
| 45 | .BI " void *" obj ", void * (*" reallocbase ")(void *, size_t) );" | ||
| 46 | .sp | ||
| 47 | .BI "void * tinyrad_array_peek( void *" base ", size_t" nel ", size_t " width " );" | ||
| 48 | |||
| 49 | .SH DESCRIPTION | ||
| 50 | To be written. | ||
| 51 | |||
| 52 | .SH RETURN VALUES | ||
| 53 | \fBtinyrad_array_dequeue\fR() and \fBtinyrad_array_peek\fR return \fINULL\fR | ||
| 54 | if an error occurs, otherwise a pointer to the object is returned. | ||
| 55 | Upon success, \fBtinyrad_array_enqueue\fR() returns 0, otherwise -2 if a | ||
| 56 | memory error occured and -1 for all other errors. | ||
| 57 | .SH SEE ALSO | ||
| 58 | .BR tinyrad (3), | ||
| 59 | .BR tinyrad_array (3), | ||
| 60 | .BR tinyrad_stack (3), | ||
| 61 | |||
| 62 | .SH AUTHOR | ||
| 63 | David M. Syzdek <david@syzdek.net> | ||
| 64 | |||
| 65 | .SH ACKNOWLEDGEMENTS | ||
| 66 | \fB@PACKAGE_NAME@\fR is developed and maintained by David M. Syzdek | ||
| 67 | <david@syzdek.net>. | ||
| 68 | |||
| 69 | .\" end of man page | ||
