summaryrefslogtreecommitdiffstats
path: root/qstring.h
Commit message (Collapse)AuthorAgeFilesLines
* QString: Introduce qstring_from_substr()Luiz Capitulino2009-12-031-0/+1
| | | | | | | 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/+2
| | | | | 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-0/+1
| | | | | | | 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-0/+4
| | | | | | This lets us use QString for building larger strings Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Introduce QStringLuiz Capitulino2009-09-041-0/+15
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>