<?php

// Start of mssql v.

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Open MS SQL server connection
 * @link http://php.net/manual/en/function.mssql-connect.php
 * @param string $servername [optional] <p>
 * The MS SQL server. It can also include a port number, e.g.
 * hostname:port (Linux), or
 * hostname,port (Windows).
 * </p>
 * @param string $username [optional] <p>
 * The username.
 * </p>
 * @param string $password [optional] <p>
 * The password.
 * </p>
 * @param bool $new_link [optional] <p>
 * If a second call is made to <b>mssql_connect</b> with the
 * same arguments, no new link will be established, but instead, the link
 * identifier of the already opened link will be returned. This parameter
 * modifies this behavior and makes <b>mssql_connect</b>
 * always open a new link, even if <b>mssql_connect</b> was
 * called before with the same parameters.
 * </p>
 * @return resource a MS SQL link identifier on success, or <b>FALSE</b> on error.
 */
function mssql_connect ($servername = null, $username = null, $password = null, $new_link = false) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Open persistent MS SQL connection
 * @link http://php.net/manual/en/function.mssql-pconnect.php
 * @param string $servername [optional] <p>
 * The MS SQL server. It can also include a port number. e.g.
 * hostname:port.
 * </p>
 * @param string $username [optional] <p>
 * The username.
 * </p>
 * @param string $password [optional] <p>
 * The password.
 * </p>
 * @param bool $new_link [optional] <p>
 * If a second call is made to <b>mssql_pconnect</b> with
 * the same arguments, no new link will be established, but instead, the
 * link identifier of the already opened link will be returned. This
 * parameter modifies this behavior and makes
 * <b>mssql_pconnect</b> always open a new link, even if
 * <b>mssql_pconnect</b> was called before with the same
 * parameters.
 * </p>
 * @return resource a positive MS SQL persistent link identifier on success, or
 * <b>FALSE</b> on error.
 */
function mssql_pconnect ($servername = null, $username = null, $password = null, $new_link = false) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Close MS SQL Server connection
 * @link http://php.net/manual/en/function.mssql-close.php
 * @param resource $link_identifier [optional] <p>
 * A MS SQL link identifier, returned by
 * <b>mssql_connect</b>.
 * </p>
 * <p>
 * This function will not close persistent links generated by
 * <b>mssql_pconnect</b>.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_close ($link_identifier = null) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Select MS SQL database
 * @link http://php.net/manual/en/function.mssql-select-db.php
 * @param string $database_name <p>
 * The database name.
 * </p>
 * <p>
 * To escape the name of a database that contains spaces, hyphens ("-"),
 * or any other exceptional characters, the database name must be
 * enclosed in brackets, as is shown in the example, below. This
 * technique must also be applied when selecting a database name that is
 * also a reserved word (such as primary).
 * </p>
 * @param resource $link_identifier [optional] <p>
 * A MS SQL link identifier, returned by
 * <b>mssql_connect</b> or
 * <b>mssql_pconnect</b>.
 * </p>
 * <p>
 * If no link identifier is specified, the last opened link is assumed.
 * If no link is open, the function will try to establish a link as if
 * <b>mssql_connect</b> was called, and use it.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_select_db ($database_name, $link_identifier = null) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Send MS SQL query
 * @link http://php.net/manual/en/function.mssql-query.php
 * @param string $query <p>
 * An SQL query.
 * </p>
 * @param resource $link_identifier [optional] <p>
 * A MS SQL link identifier, returned by
 * <b>mssql_connect</b> or
 * <b>mssql_pconnect</b>.
 * </p>
 * <p>
 * If the link identifier isn't specified, the last opened link is
 * assumed. If no link is open, the function tries to establish a link
 * as if <b>mssql_connect</b> was called, and use it.
 * </p>
 * @param int $batch_size [optional] <p>
 * The number of records to batch in the buffer.
 * </p>
 * @return mixed a MS SQL result resource on success, <b>TRUE</b> if no rows were
 * returned, or <b>FALSE</b> on error.
 */
function mssql_query ($query, $link_identifier = null, $batch_size = 0) {}

/**
 * (PHP 4 &gt;= 4.0.4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Returns the next batch of records
 * @link http://php.net/manual/en/function.mssql-fetch-batch.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return int the number of rows in the returned batch.
 */
function mssql_fetch_batch ($result) {}

/**
 * (PHP 4 &gt;= 4.0.4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Returns the number of records affected by the query
 * @link http://php.net/manual/en/function.mssql-rows-affected.php
 * @param resource $link_identifier <p>
 * A MS SQL link identifier, returned by
 * <b>mssql_connect</b> or
 * <b>mssql_pconnect</b>.
 * </p>
 * @return int the number of records affected by last operation.
 */
function mssql_rows_affected ($link_identifier) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Free result memory
 * @link http://php.net/manual/en/function.mssql-free-result.php
 * @param resource $result <p>
 * The result resource that is being freed. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_free_result ($result) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Returns the last message from the server
 * @link http://php.net/manual/en/function.mssql-get-last-message.php
 * @return string last error message from server, or an empty string if
 * no error messages are returned from MSSQL.
 */
function mssql_get_last_message () {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Gets the number of rows in result
 * @link http://php.net/manual/en/function.mssql-num-rows.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return int the number of rows, as an integer.
 */
function mssql_num_rows ($result) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Gets the number of fields in result
 * @link http://php.net/manual/en/function.mssql-num-fields.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return int the number of fields, as an integer.
 */
function mssql_num_fields ($result) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Get field information
 * @link http://php.net/manual/en/function.mssql-fetch-field.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $field_offset [optional] <p>
 * The numerical field offset. If the field offset is not specified, the
 * next field that was not yet retrieved by this function is retrieved. The
 * <i>field_offset</i> starts at 0.
 * </p>
 * @return object an object containing field information.
 * </p>
 * <p>
 * The properties of the object are:
 */
function mssql_fetch_field ($result, $field_offset = -1) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Get row as enumerated array
 * @link http://php.net/manual/en/function.mssql-fetch-row.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return array an array that corresponds to the fetched row, or <b>FALSE</b> if there
 * are no more rows.
 */
function mssql_fetch_row ($result) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Fetch a result row as an associative array, a numeric array, or both
 * @link http://php.net/manual/en/function.mssql-fetch-array.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $result_type [optional] <p>
 * The type of array that is to be fetched. It's a constant and can take
 * the following values: <b>MSSQL_ASSOC</b>,
 * <b>MSSQL_NUM</b>, and
 * <b>MSSQL_BOTH</b>.
 * </p>
 * @return array an array that corresponds to the fetched row, or <b>FALSE</b> if there
 * are no more rows.
 */
function mssql_fetch_array ($result, $result_type = 'MSSQL_BOTH') {}

/**
 * (PHP 4 &gt;= 4.2.0, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Returns an associative array of the current row in the result
 * @link http://php.net/manual/en/function.mssql-fetch-assoc.php
 * @param resource $result_id <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return array an associative array that corresponds to the fetched row, or
 * <b>FALSE</b> if there are no more rows.
 */
function mssql_fetch_assoc ($result_id) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Fetch row as object
 * @link http://php.net/manual/en/function.mssql-fetch-object.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return object an object with properties that correspond to the fetched row, or
 * <b>FALSE</b> if there are no more rows.
 */
function mssql_fetch_object ($result) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Get the length of a field
 * @link http://php.net/manual/en/function.mssql-field-length.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $offset [optional] <p>
 * The field offset, starts at 0. If omitted, the current field is used.
 * </p>
 * @return int The length of the specified field index on success or <b>FALSE</b> on failure.
 */
function mssql_field_length ($result, $offset = -1) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Get the name of a field
 * @link http://php.net/manual/en/function.mssql-field-name.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $offset [optional] <p>
 * The field offset, starts at 0. If omitted, the current field is used.
 * </p>
 * @return string The name of the specified field index on success or <b>FALSE</b> on failure.
 */
function mssql_field_name ($result, $offset = -1) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Gets the type of a field
 * @link http://php.net/manual/en/function.mssql-field-type.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $offset [optional] <p>
 * The field offset, starts at 0. If omitted, the current field is used.
 * </p>
 * @return string The type of the specified field index on success or <b>FALSE</b> on failure.
 */
function mssql_field_type ($result, $offset = -1) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Moves internal row pointer
 * @link http://php.net/manual/en/function.mssql-data-seek.php
 * @param resource $result_identifier <p>
 * The result resource that is being evaluated.
 * </p>
 * @param int $row_number <p>
 * The desired row number of the new result pointer.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_data_seek ($result_identifier, $row_number) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Seeks to the specified field offset
 * @link http://php.net/manual/en/function.mssql-field-seek.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $field_offset <p>
 * The field offset, starts at 0.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_field_seek ($result, $field_offset) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Get result data
 * @link http://php.net/manual/en/function.mssql-result.php
 * @param resource $result <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @param int $row <p>
 * The row number.
 * </p>
 * @param mixed $field <p>
 * Can be the field's offset, the field's name or the field's table dot
 * field's name (tablename.fieldname). If the column name has been
 * aliased ('select foo as bar from...'), it uses the alias instead of
 * the column name.
 * </p>
 * <p>
 * Specifying a numeric offset for the <i>field</i>
 * argument is much quicker than specifying a
 * fieldname or
 * tablename.fieldname argument.
 * </p>
 * @return string the contents of the specified cell.
 */
function mssql_result ($result, $row, $field) {}

/**
 * (PHP 4 &gt;= 4.0.5, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Move the internal result pointer to the next result
 * @link http://php.net/manual/en/function.mssql-next-result.php
 * @param resource $result_id <p>
 * The result resource that is being evaluated. This result comes from a
 * call to <b>mssql_query</b>.
 * </p>
 * @return bool <b>TRUE</b> if an additional result set was available or <b>FALSE</b>
 * otherwise.
 */
function mssql_next_result ($result_id) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Sets the minimum error severity
 * @link http://php.net/manual/en/function.mssql-min-error-severity.php
 * @param int $severity <p>
 * The new error severity.
 * </p>
 * @return void No value is returned.
 */
function mssql_min_error_severity ($severity) {}

/**
 * (PHP 4, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Sets the minimum message severity
 * @link http://php.net/manual/en/function.mssql-min-message-severity.php
 * @param int $severity <p>
 * The new message severity.
 * </p>
 * @return void No value is returned.
 */
function mssql_min_message_severity ($severity) {}

/**
 * (PHP 4 &gt;= 4.0.7, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Initializes a stored procedure or a remote stored procedure
 * @link http://php.net/manual/en/function.mssql-init.php
 * @param string $sp_name <p>
 * Stored procedure name, like ownew.sp_name or
 * otherdb.owner.sp_name.
 * </p>
 * @param resource $link_identifier [optional] <p>
 * A MS SQL link identifier, returned by
 * <b>mssql_connect</b>.
 * </p>
 * @return resource a resource identifier "statement", used in subsequent calls to
 * <b>mssql_bind</b> and <b>mssql_execute</b>,
 * or <b>FALSE</b> on errors.
 */
function mssql_init ($sp_name, $link_identifier = null) {}

/**
 * (PHP 4 &gt;= 4.0.7, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Adds a parameter to a stored procedure or a remote stored procedure
 * @link http://php.net/manual/en/function.mssql-bind.php
 * @param resource $stmt <p>
 * Statement resource, obtained with <b>mssql_init</b>.
 * </p>
 * @param string $param_name <p>
 * The parameter name, as a string.
 * </p>
 * <p>
 * You have to include the @ character, like in the
 * T-SQL syntax. See the explanation included in
 * <b>mssql_execute</b>.
 * </p>
 * @param mixed $var <p>
 * The PHP variable you'll bind the MSSQL parameter to. It is passed by
 * reference, to retrieve OUTPUT and RETVAL values after
 * the procedure execution.
 * </p>
 * @param int $type <p>
 * One of: <b>SQLTEXT</b>,
 * <b>SQLVARCHAR</b>, <b>SQLCHAR</b>,
 * <b>SQLINT1</b>, <b>SQLINT2</b>,
 * <b>SQLINT4</b>, <b>SQLBIT</b>,
 * <b>SQLFLT4</b>, <b>SQLFLT8</b>,
 * <b>SQLFLTN</b>.
 * </p>
 * @param bool $is_output [optional] <p>
 * Whether the value is an OUTPUT parameter or not. If it's an OUTPUT
 * parameter and you don't mention it, it will be treated as a normal
 * input parameter and no error will be thrown.
 * </p>
 * @param bool $is_null [optional] <p>
 * Whether the parameter is <b>NULL</b> or not. Passing the <b>NULL</b> value as
 * <i>var</i> will not do the job.
 * </p>
 * @param int $maxlen [optional] <p>
 * Used with char/varchar values. You have to indicate the length of the
 * data so if the parameter is a varchar(50), the type must be
 * <b>SQLVARCHAR</b> and this value 50.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_bind ($stmt, $param_name, &$var, $type, $is_output = false, $is_null = false, $maxlen = -1) {}

/**
 * (PHP 4 &gt;= 4.0.7, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Executes a stored procedure on a MS SQL server database
 * @link http://php.net/manual/en/function.mssql-execute.php
 * @param resource $stmt <p>
 * Statement handle obtained with <b>mssql_init</b>.
 * </p>
 * @param bool $skip_results [optional] <p>
 * Whenever to skip the results or not.
 * </p>
 * @return mixed
 */
function mssql_execute ($stmt, $skip_results = false) {}

/**
 * (PHP 4 &gt;= 4.3.2, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Free statement memory
 * @link http://php.net/manual/en/function.mssql-free-statement.php
 * @param resource $stmt <p>
 * Statement resource, obtained with <b>mssql_init</b>.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function mssql_free_statement ($stmt) {}

/**
 * (PHP 4 &gt;= 4.0.7, PHP 5, PECL odbtp &gt;= 1.1.1)<br/>
 * Converts a 16 byte binary GUID to a string
 * @link http://php.net/manual/en/function.mssql-guid-string.php
 * @param string $binary <p>
 * A 16 byte binary GUID.
 * </p>
 * @param bool $short_format [optional] <p>
 * Whenever to use short format.
 * </p>
 * @return string the converted string on success.
 */
function mssql_guid_string ($binary, $short_format = false) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Opens a Sybase server connection
 * @link http://php.net/manual/en/function.sybase-connect.php
 * @param string $servername [optional] <p>
 * The servername argument has to be a valid servername that is defined
 * in the 'interfaces' file.
 * </p>
 * @param string $username [optional] <p>
 * Sybase user name
 * </p>
 * @param string $password [optional] <p>
 * Password associated with <i>username</i>.
 * </p>
 * @param string $charset [optional] <p>
 * Specifies the charset for the connection
 * </p>
 * @param string $appname [optional] <p>
 * Specifies an appname for the Sybase connection.
 * This allow you to make separate connections in the same script to the
 * same database. This may come handy when you have started a transaction
 * in your current connection, and you need to be able to do a separate
 * query which cannot be performed inside this transaction.
 * </p>
 * @param bool $new [optional] <p>
 * Whether to open a new connection or use the existing one.
 * </p>
 * @return resource a positive Sybase link identifier on success, or <b>FALSE</b> on
 * failure.
 */
function sybase_connect ($servername = null, $username = null, $password = null, $charset = null, $appname = null, $new = false) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Open persistent Sybase connection
 * @link http://php.net/manual/en/function.sybase-pconnect.php
 * @param string $servername [optional] <p>
 * The servername argument has to be a valid servername that is defined
 * in the 'interfaces' file.
 * </p>
 * @param string $username [optional] <p>
 * Sybase user name
 * </p>
 * @param string $password [optional] <p>
 * Password associated with <i>username</i>.
 * </p>
 * @param string $charset [optional] <p>
 * Specifies the charset for the connection
 * </p>
 * @param string $appname [optional] <p>
 * Specifies an appname for the Sybase connection.
 * This allow you to make separate connections in the same script to the
 * same database. This may come handy when you have started a transaction
 * in your current connection, and you need to be able to do a separate
 * query which cannot be performed inside this transaction.
 * </p>
 * @return resource a positive Sybase persistent link identifier on success, or
 * <b>FALSE</b> on error.
 */
function sybase_pconnect ($servername = null, $username = null, $password = null, $charset = null, $appname = null) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Closes a Sybase connection
 * @link http://php.net/manual/en/function.sybase-close.php
 * @param resource $link_identifier [optional] <p>
 * If the link identifier isn't specified, the last opened link is
 * assumed.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function sybase_close ($link_identifier = null) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Selects a Sybase database
 * @link http://php.net/manual/en/function.sybase-select-db.php
 * @param string $database_name
 * @param resource $link_identifier [optional] <p>
 * If no link identifier is specified, the last opened link is assumed.
 * If no link is open, the function will try to establish a link as if
 * <b>sybase_connect</b> was called, and use it.
 * </p>
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function sybase_select_db ($database_name, $link_identifier = null) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Sends a Sybase query
 * @link http://php.net/manual/en/function.sybase-query.php
 * @param string $query
 * @param resource $link_identifier [optional] <p>
 * If the link identifier isn't specified, the last opened link is
 * assumed. If no link is open, the function tries to establish a link as
 * if <b>sybase_connect</b> was called, and use it.
 * </p>
 * @return mixed a positive Sybase result identifier on success, <b>FALSE</b> on error,
 * or <b>TRUE</b> if the query was successful but didn't return any columns.
 */
function sybase_query ($query, $link_identifier = null) {}

/**
 * @param $result
 */
function sybase_fetch_batch ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Gets number of affected rows in last query
 * @link http://php.net/manual/en/function.sybase-affected-rows.php
 * @param resource $link_identifier [optional] <p>
 * If the link identifier isn't specified, the last opened link is assumed.
 * </p>
 * @return int the number of affected rows, as an integer.
 */
function sybase_affected_rows ($link_identifier = null) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Frees result memory
 * @link http://php.net/manual/en/function.sybase-free-result.php
 * @param resource $result
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function sybase_free_result ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Returns the last message from the server
 * @link http://php.net/manual/en/function.sybase-get-last-message.php
 * @return string the message as a string.
 */
function sybase_get_last_message () {}

/**
 * (PHP 4, PHP 5)<br/>
 * Get number of rows in a result set
 * @link http://php.net/manual/en/function.sybase-num-rows.php
 * @param resource $result
 * @return int the number of rows as an integer.
 */
function sybase_num_rows ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Gets the number of fields in a result set
 * @link http://php.net/manual/en/function.sybase-num-fields.php
 * @param resource $result
 * @return int the number of fields as an integer.
 */
function sybase_num_fields ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Get field information from a result
 * @link http://php.net/manual/en/function.sybase-fetch-field.php
 * @param resource $result
 * @param int $field_offset [optional] <p>
 * If the field offset isn't specified, the next field that wasn't yet
 * retrieved by <b>sybase_fetch_field</b> is retrieved.
 * </p>
 * @return object an object containing field information.
 * </p>
 * <p>
 * The properties of the object are:
 */
function sybase_fetch_field ($result, $field_offset = -1) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Get a result row as an enumerated array
 * @link http://php.net/manual/en/function.sybase-fetch-row.php
 * @param resource $result
 * @return array an array that corresponds to the fetched row, or <b>FALSE</b> if there
 * are no more rows. Each result column is stored in an array offset,
 * starting at offset 0.
 */
function sybase_fetch_row ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Fetch row as array
 * @link http://php.net/manual/en/function.sybase-fetch-array.php
 * @param resource $result
 * @return array an array that corresponds to the fetched row, or <b>FALSE</b> if there
 * are no more rows.
 * </p>
 * <p>
 * When selecting fields with identical names (for instance, in a join), the
 * associative indices will have a sequential number prepended. See the
 * example for details.
 */
function sybase_fetch_array ($result) {}

/**
 * (PHP 4 &gt;= 4.3.0, PHP 5)<br/>
 * Fetch a result row as an associative array
 * @link http://php.net/manual/en/function.sybase-fetch-assoc.php
 * @param resource $result
 * @return array an array that corresponds to the fetched row, or <b>FALSE</b> if there
 * are no more rows.
 */
function sybase_fetch_assoc ($result) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Fetch a row as an object
 * @link http://php.net/manual/en/function.sybase-fetch-object.php
 * @param resource $result
 * @param mixed $object [optional] <p>
 * Use the second <i>object</i> to specify the type of object
 * you want to return. If this parameter is omitted, the object will be of
 * type stdClass.
 * </p>
 * @return object an object with properties that correspond to the fetched row, or
 * <b>FALSE</b> if there are no more rows.
 */
function sybase_fetch_object ($result, $object = null) {}

/**
 * @param $result
 * @param $offset [optional]
 */
function sybase_field_length ($result, $offset) {}

/**
 * @param $result
 * @param $offset [optional]
 */
function sybase_field_name ($result, $offset) {}

/**
 * @param $result
 * @param $offset [optional]
 */
function sybase_field_type ($result, $offset) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Moves internal row pointer
 * @link http://php.net/manual/en/function.sybase-data-seek.php
 * @param resource $result_identifier
 * @param int $row_number
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function sybase_data_seek ($result_identifier, $row_number) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Sets field offset
 * @link http://php.net/manual/en/function.sybase-field-seek.php
 * @param resource $result
 * @param int $field_offset
 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
 */
function sybase_field_seek ($result, $field_offset) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Get result data
 * @link http://php.net/manual/en/function.sybase-result.php
 * @param resource $result
 * @param int $row
 * @param mixed $field <p>
 * The field argument can be the field's offset, or the field's name, or
 * the field's table dot field's name (tablename.fieldname). If the
 * column name has been aliased ('select foo as bar from...'), use the
 * alias instead of the column name.
 * </p>
 * @return string <b>sybase_result</b> returns the contents of one cell from a
 * Sybase result set.
 */
function sybase_result ($result, $row, $field) {}

/**
 * @param $result_id
 */
function sybase_next_result ($result_id) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Sets minimum error severity
 * @link http://php.net/manual/en/function.sybase-min-error-severity.php
 * @param int $severity
 * @return void No value is returned.
 */
function sybase_min_error_severity ($severity) {}

/**
 * (PHP 4, PHP 5)<br/>
 * Sets minimum message severity
 * @link http://php.net/manual/en/function.sybase-min-message-severity.php
 * @param int $severity
 * @return void No value is returned.
 */
function sybase_min_message_severity ($severity) {}

/**
 * @param $sp_name
 * @param $link_identifier [optional]
 */
function sybase_init ($sp_name, $link_identifier) {}

/**
 * @param $stmt
 * @param $param_name
 * @param $var
 * @param $type
 * @param $is_output [optional]
 * @param $is_null [optional]
 * @param $maxlen [optional]
 */
function sybase_bind ($stmt, $param_name, &$var, $type, $is_output, $is_null, $maxlen) {}

/**
 * @param $stmt
 * @param $skip_results [optional]
 */
function sybase_execute ($stmt, $skip_results) {}

/**
 * @param $stmt
 */
function sybase_free_statement ($stmt) {}

/**
 * @param $binary
 * @param $short_format [optional]
 */
function sybase_guid_string ($binary, $short_format) {}


/**
 * Return an associative array. Used on
 * <b>mssql_fetch_array</b>'s
 * result_type parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('MSSQL_ASSOC', 1);

/**
 * Return an array with numeric keys. Used on
 * <b>mssql_fetch_array</b>'s
 * result_type parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('MSSQL_NUM', 2);

/**
 * Return an array with both numeric keys and
 * keys with their field name. This is the
 * default value for <b>mssql_fetch_array</b>'s
 * result_type parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('MSSQL_BOTH', 3);

/**
 * Indicates the 'TEXT' type in MSSQL, used by
 * <b>mssql_bind</b>'s type
 * parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLTEXT', 35);

/**
 * Indicates the 'VARCHAR' type in MSSQL, used by
 * <b>mssql_bind</b>'s type
 * parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLVARCHAR', 39);

/**
 * Indicates the 'CHAR' type in MSSQL, used by
 * <b>mssql_bind</b>'s type
 * parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLCHAR', 47);

/**
 * Represents one byte, with a range of -128 to 127.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLINT1', 48);

/**
 * Represents two bytes, with a range of -32768
 * to 32767.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLINT2', 52);

/**
 * Represents four bytes, with a range of -2147483648
 * to 2147483647.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLINT4', 56);

/**
 * Indicates the 'BIT' type in MSSQL, used by
 * <b>mssql_bind</b>'s type
 * parameter.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLBIT', 50);

/**
 * Represents an four byte float.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLFLT4', 59);

/**
 * Represents an eight byte float.
 * @link http://php.net/manual/en/mssql.constants.php
 */
define ('SQLFLT8', 62);
define ('SQLFLTN', 109);

// End of mssql v.
?>
