X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgstringchunk.h;h=dde23631403552a340f332026f8bab6301a1ea61;hb=30ed5f53e205e6bfc35126a9d3c62dac8a9c5dad;hp=5ab2e8adf85bda1357a2fd7faf56f3bf51fd63b1;hpb=d85b722734a6fcfe94032f6113de9e5c190fd7c3;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gstringchunk.h b/glib/gstringchunk.h index 5ab2e8a..dde2363 100644 --- a/glib/gstringchunk.h +++ b/glib/gstringchunk.h @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . */ /* @@ -24,27 +22,33 @@ * GLib at ftp://ftp.gtk.org/pub/gtk/. */ +#ifndef __G_STRINGCHUNK_H__ +#define __G_STRINGCHUNK_H__ + #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_STRINGCHUNK_H__ -#define __G_STRINGCHUNK_H__ - #include G_BEGIN_DECLS typedef struct _GStringChunk GStringChunk; +GLIB_AVAILABLE_IN_ALL GStringChunk* g_string_chunk_new (gsize size); +GLIB_AVAILABLE_IN_ALL void g_string_chunk_free (GStringChunk *chunk); +GLIB_AVAILABLE_IN_ALL void g_string_chunk_clear (GStringChunk *chunk); +GLIB_AVAILABLE_IN_ALL gchar* g_string_chunk_insert (GStringChunk *chunk, const gchar *string); +GLIB_AVAILABLE_IN_ALL gchar* g_string_chunk_insert_len (GStringChunk *chunk, const gchar *string, gssize len); +GLIB_AVAILABLE_IN_ALL gchar* g_string_chunk_insert_const (GStringChunk *chunk, const gchar *string);