php-doc-en/functions/muscat.xml
Hartmut Holzgraefe 82815f96a3 added skeletons for yet undocumented extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65178 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-15 14:54:58 +00:00

140 lines
4.1 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<reference id="ref.muscat">
<title>muscat functions</title>
<titleabbrev>muscat functions</titleabbrev>
<partintro>
<para>
</para>
</partintro>
<refentry id="function.muscat-setup">
<refnamediv>
<refname>muscat_setup</refname>
<refpurpose>Creates a new muscat session and returns the handle. Size is the ammount of memory in bytes to allocate for muscat muscat_dir is the muscat installation dir e.g. "/usr/local/empower", it defaults to the compile time muscat directory </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>resource <function>muscat_setup</function></funcdef>
<paramdef>int <parameter>size</parameter></paramdef>
<paramdef>string
<parameter><optional>muscat_dir</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
&warn.experimental.func;
<para>
&warn.undocumented.func;
</para>
</refsect1>
</refentry>
<refentry id="function.muscat-setup-net">
<refnamediv>
<refname>muscat_setup_net</refname>
<refpurpose>Creates a new muscat session and returns the handle. muscat_host is the hostname to connect to port is the port number to connect to - actually takes exactly the same args as fsockopen </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>resource <function>muscat_setup_net</function></funcdef>
<paramdef>string <parameter>muscat_host</parameter></paramdef>
<paramdef>int <parameter>port</parameter></paramdef>
</funcprototype>
</funcsynopsis>
&warn.experimental.func;
<para>
&warn.undocumented.func;
</para>
</refsect1>
</refentry>
<refentry id="function.muscat-give">
<refnamediv>
<refname>muscat_give</refname>
<refpurpose>Sends string to the core muscat api </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>muscat_give</function></funcdef>
<paramdef>resource <parameter>muscat_handle</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
</funcprototype>
</funcsynopsis>
&warn.experimental.func;
<para>
&warn.undocumented.func;
</para>
</refsect1>
</refentry>
<refentry id="function.muscat-get">
<refnamediv>
<refname>muscat_get</refname>
<refpurpose>Gets a line back from the core muscat api. Returns a literal FALSE when there is no more to get (as opposed to ""). Use === FALSE or !== FALSE to check for this </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>muscat_get</function></funcdef>
<paramdef>resource <parameter>muscat_handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
&warn.experimental.func;
<para>
&warn.undocumented.func;
</para>
</refsect1>
</refentry>
<refentry id="function.muscat-close">
<refnamediv>
<refname>muscat_close</refname>
<refpurpose>Shuts down the muscat session and releases any memory back to php. [Not back to the system, note!] </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>muscat_close</function></funcdef>
<paramdef>resource <parameter>muscat_handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
&warn.experimental.func;
<para>
&warn.undocumented.func;
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->