File: text.xml

package info (click to toggle)
libgsf 1.11.1-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,588 kB
  • ctags: 1,947
  • sloc: ansic: 12,552; sh: 8,448; xml: 5,456; makefile: 371
file content (113 lines) | stat: -rw-r--r-- 4,147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<refentry id="gsf-Text">
<refmeta>
<refentrytitle>Text</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GSF Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Text</refname><refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<anchor id="GsfInputTextline"/>
<synopsis>



            <link linkend="GsfInputTextline-struct">GsfInputTextline</link>;
<link linkend="GsfInput">GsfInput</link>*   <link linkend="gsf-input-textline-new">gsf_input_textline_new</link>          (<link linkend="GsfInput">GsfInput</link> *source);
unsigned <link linkend="char">char</link>* <link linkend="gsf-input-textline-ascii-gets">gsf_input_textline_ascii_gets</link>
                                            (<link linkend="GsfInputTextline">GsfInputTextline</link> *input);
<link linkend="guint8">guint8</link>*     <link linkend="gsf-input-textline-utf8-gets">gsf_input_textline_utf8_gets</link>    (<link linkend="GsfInputTextline">GsfInputTextline</link> *input);

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GsfInput">GsfInput</link>
         +----GsfInputTextline
</synopsis>

</refsect1>








<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GsfInputTextline-struct"/>GsfInputTextline</title>
<indexterm><primary>GsfInputTextline</primary></indexterm><programlisting>typedef struct _GsfInputTextline GsfInputTextline;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gsf-input-textline-new"/>gsf_input_textline_new ()</title>
<indexterm><primary>gsf_input_textline_new</primary></indexterm><programlisting><link linkend="GsfInput">GsfInput</link>*   gsf_input_textline_new          (<link linkend="GsfInput">GsfInput</link> *source);</programlisting>
<para>
NOTE : adds a reference to <parameter>source</parameter></para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> in some combination of ascii and utf8
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>a new file or NULL.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gsf-input-textline-ascii-gets"/>gsf_input_textline_ascii_gets ()</title>
<indexterm><primary>gsf_input_textline_ascii_gets</primary></indexterm><programlisting>unsigned <link linkend="char">char</link>* gsf_input_textline_ascii_gets
                                            (<link linkend="GsfInputTextline">GsfInputTextline</link> *input);</programlisting>
<para>
A utility routine to read things line by line from the underlying source.
Trailing newlines and carriage returns are stripped, and the resultant buffer
can be edited.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>input</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the string read, or NULL on eof.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gsf-input-textline-utf8-gets"/>gsf_input_textline_utf8_gets ()</title>
<indexterm><primary>gsf_input_textline_utf8_gets</primary></indexterm><programlisting><link linkend="guint8">guint8</link>*     gsf_input_textline_utf8_gets    (<link linkend="GsfInputTextline">GsfInputTextline</link> *input);</programlisting>
<para>
A utility routine to read things line by line from the underlying source.
Trailing newlines and carriage returns are stripped, and the resultant buffer
can be edited.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>input</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the string read, or NULL on eof.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>