File: exo-csource.html

package info (click to toggle)
exo 0.3.107-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,992 kB
  • ctags: 3,447
  • sloc: ansic: 24,999; sh: 10,429; makefile: 1,606; python: 403; perl: 235; xml: 130
file content (117 lines) | stat: -rw-r--r-- 5,200 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
114
115
116
117
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>exo-csource</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="exo Reference Manual">
<link rel="up" href="exo-tools.html" title="Part VII. Tools">
<link rel="prev" href="exo-tools.html" title="Part VII. Tools">
<link rel="next" href="exo-deprecated-widgets.html" title="Part VIII. Deprecated widgets">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="exo-tools.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="exo-tools.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">exo Reference Manual</th>
<td><a accesskey="n" href="exo-deprecated-widgets.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" title="exo-csource">
<a name="exo-csource"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">exo-csource</span></h2>
<p>exo-csource — C code generation utility for arbitrary data</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">exo-csource</code>  [options] [file]</p></div>
<div class="cmdsynopsis"><p><code class="command">exo-csource</code>  [options]  --build-list  [
        [name]
         [file]
      ...]</p></div>
</div>
<div class="refsect1" title="Description">
<a name="id688951"></a><h2>Description</h2>
<p>
      <span class="command"><strong>exo-csource</strong></span> is a small utility that generates C code
      containing arbitrary data, useful for compiling texts or other data
      directly into programs.
    </p>
</div>
<div class="refsect1" title="Invocation">
<a name="id688968"></a><h2>Invocation</h2>
<p>
      <span class="command"><strong>exo-csource</strong></span> either takes as input one file name to
      generate code for, or, using the <code class="option">--build-list</code> option,
      a list of (<em class="replaceable"><code>name</code></em>, <em class="replaceable"><code>file</code></em>)
      pairs to generate code for a list of images into named variables.
    </p>
<div class="refsect2" title="Options">
<a name="id688995"></a><h3>Options</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
<td><p>Print brief help and exit.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td>
<td><p>Print version information and exit.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--extern</code></span></p></td>
<td><p>Generate extern symbols.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--static</code></span></p></td>
<td><p>Generate static symbols (default).</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--name=identifier</code></span></p></td>
<td><p>
              Specifies the <em class="parameter"><code>identifier</code></em> name (prefix) for the
              generated variables (only used if <code class="option">--build-list</code> was
              not specified as well).
            </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--build-list</code></span></p></td>
<td><p>
              Enables (<em class="replaceable"><code>name</code></em>, <em class="replaceable"><code>file</code></em>)
              pair parsing mode.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="See also">
<a name="id689118"></a><h2>See also</h2>
<p>
      The <span class="command"><strong>gdk-pixbuf-csource</strong></span> utility which ships with the Gtk+
      distribution, available from <a class="ulink" href="http://www.gtk.org" target="_top">www.gtk.org</a>.
    </p>
</div>
<div class="refsect1" title="Author">
<a name="id689140"></a><h2>Author</h2>
<p>
      <span class="command"><strong>exo-csource</strong></span> was written by Benedikt Meurer
      <code class="email">&lt;<a class="email" href="mailto:benny@xfce.org">benny@xfce.org</a>&gt;</code>.
    </p>
<p>
      This manual page was provided by Benedikt Meurer <code class="email">&lt;<a class="email" href="mailto:benny@xfce.org">benny@xfce.org</a>&gt;</code>.
    </p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>