summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-05-04 10:42:39 +0200
committerKarel Klic <kklic@redhat.com>2010-05-04 10:42:39 +0200
commit2a9bd7ffe24cfeead6a97b8d4cfed7f607cc345d (patch)
treee1f7faa7ce3c0a877c206a0152fe2d9531bc3328
parent57845d5f2b1927a13a59cd9800c3b8e9c27e4ef8 (diff)
downloadabrt-2a9bd7ffe24cfeead6a97b8d4cfed7f607cc345d.tar.gz
abrt-2a9bd7ffe24cfeead6a97b8d4cfed7f607cc345d.tar.xz
abrt-2a9bd7ffe24cfeead6a97b8d4cfed7f607cc345d.zip
Added code comments.
-rw-r--r--lib/Utils/strbuf.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Utils/strbuf.h b/lib/Utils/strbuf.h
index d0c9c981..8b43424a 100644
--- a/lib/Utils/strbuf.h
+++ b/lib/Utils/strbuf.h
@@ -24,10 +24,13 @@
extern "C" {
#endif
-struct strbuf {
- int alloc;
- int len;
- char *buf;
+struct strbuf
+{
+ /* Size of the allocated buffer. */
+ int alloc;
+ /* Length of the message. */
+ int len;
+ char *buf;
};
extern struct strbuf *strbuf_new();