gimpprint_14.html   [plain text]


<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.51
     from .././gimpprint.texi on 22 January 2003 -->

<TITLE>GIMP-Print - Options functions</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="gimpprint_1.html">first</A>, <A HREF="gimpprint_13.html">previous</A>, <A HREF="gimpprint_15.html">next</A>, <A HREF="gimpprint_47.html">last</A> section, <A HREF="gimpprint_toc.html">table of contents</A>.
<P><HR><P>


<H2><A NAME="SEC19" HREF="gimpprint_toc.html#TOC19">4.4  Options functions</A></H2>
<P>
<A NAME="IDX113"></A>

</P>
<P>
<DL>
<DT><U>Data type:</U> void * <B>stp_option_t</B>
<DD><A NAME="IDX114"></A>
This is an opaque data type, whose structure is not visible to the
user.
</DL>

</P>
<P>
<DL>
<DT><U>Function:</U> void <B>stp_set_option(stp_vars_t</B> <I><VAR>v</VAR>, const char *<VAR>name</VAR>, const char *<VAR>data</VAR>, int <VAR>bytes</VAR>)</I>
<DD><A NAME="IDX115"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> void <B>stp_clear_option</B> <I>(stp_vars_t <VAR>v</VAR>, const char *<VAR>name</VAR>)</I>
<DD><A NAME="IDX116"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> void <B>stp_clear_all_options</B> <I>(stp_vars_t <VAR>v</VAR>)</I>
<DD><A NAME="IDX117"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> size_t <B>stp_option_count</B> <I>(const stp_vars_t <VAR>v</VAR>)</I>
<DD><A NAME="IDX118"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> const stp_option_t <B>stp_get_option_by_index</B> <I>(const stp_vars_t <VAR>v</VAR>, size_t <VAR>idx</VAR>)</I>
<DD><A NAME="IDX119"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> const stp_option_t <B>stp_get_option_by_name</B> <I>(const stp_vars_t <VAR>v</VAR>, const char *<VAR>name</VAR>)</I>
<DD><A NAME="IDX120"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> const char * <B>stp_option_data</B> <I>(const stp_option_t <VAR>option</VAR>)</I>
<DD><A NAME="IDX121"></A>
<STRONG>Note</STRONG>: not null delimited!
</DL>

</P>
<P>
<DL>
<DT><U>Function:</U> const char * <B>stp_option_name</B> <I>(const stp_option_t <VAR>option</VAR>)</I>
<DD><A NAME="IDX122"></A>

</P>
</DL>

<P>
<DL>
<DT><U>Function:</U> size_t <B>stp_option_length</B> <I>(const stp_option_t <VAR>option</VAR>)</I>
<DD><A NAME="IDX123"></A>

</P>
</DL>

<P><HR><P>
Go to the <A HREF="gimpprint_1.html">first</A>, <A HREF="gimpprint_13.html">previous</A>, <A HREF="gimpprint_15.html">next</A>, <A HREF="gimpprint_47.html">last</A> section, <A HREF="gimpprint_toc.html">table of contents</A>.
</BODY>
</HTML>