summaryrefslogtreecommitdiffstats
path: root/qstring.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix qtypes' licensesLuiz Capitulino2010-05-191-3/+4
| | | | | | | | - Change from GPL to LGPL - Add license text when missing - Minor cosmetic changes to make all headers look the same Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
* QString: Introduce qstring_from_substr()Luiz Capitulino2009-12-031-5/+15
| | | | | | | Note that we can now write qstring_from_str() as a wrapper. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* QString: Introduce qstring_append_int()Luiz Capitulino2009-12-031-0/+8
| | | | | Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* QString: Introduce qstring_append_chr()Luiz Capitulino2009-12-031-5/+19
| | | | | | | It appends a C char to a QString. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Allow strings to grow in sizeAnthony Liguori2009-11-171-1/+36
| | | | | | This lets us use QString for building larger strings Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Shuffle lines to avoid gcc 3 warning about redundant redeclarationBlue Swirl2009-09-041-6/+6
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Introduce QStringLuiz Capitulino2009-09-041-0/+73
QString is a high-level data type that can be used to represent C strings. The following functions are available: - qstring_from_str() Create a new QString - qstring_get_str() Get a pointer to the stored string Note that qstring_get_str() is too low-level for a data type like this, but it's interesting for quick read-only accesses. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud