summaryrefslogtreecommitdiffstats
path: root/lib/libgeom/geom_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove code duplication by introducing static gctl_param_add() function whichpjd2010-10-211-22/+14
| | | | is now used by both gctl_ro_param() and gctl_rw_param().
* - Simplify gctl_get_handle() a bit.pjd2010-10-211-5/+3
| | | | - Prefer 'unsigned int' over 'u_int' in userland code.
* - Simplify the procedure of retrieving XML-data from the kernel.lulf2008-07-081-6/+16
| | | | | | | | | | | | | - Fix a number of potential memory leaks in libgeom related to doing realloc without freeing old pointer if things go wrong. - Fix a number of places in libgeom where malloc and calloc return values were not checked. - Check malloc return value and provide sufficient warning messages when XML parsing fails. PR: kern/83464 Submitted by: Dan Lukes <dan - at - obluda.cz> Approved by: kib (mentor)
* Add the part of the last commit which cvs appearantly didn't likephk2003-06-011-16/+3
| | | | the first time.
* Collapse the meta arguments into normal arguments, trying to distinguishphk2003-04-221-36/+1
| | | | just makes our own life harder.
* Run a revision on the OAM api.phk2003-03-271-78/+127
| | | | | | | Use prefix gctl_ systematically. Add flag with access perms for each argument. Add ro/rw versions of argument building functions. General cleanup.
* Add marshalling functions for OAM api.phk2003-03-231-0/+237
OpenPOWER on IntegriCloud