db_send_c DEPRECATED


 THIS FUNCTION IS DEPRECATED.  USE OF db_select/db_modify IS PREFERRED.

 for read:  (SQL select or exec w/one result set expected)
 --------
	acnet_status.i2.v = db_send_c(request_no_of_rows.u4.v,
				      request_buffer.i1a.r, request_size.u4.v,
				      bytes_per_row.u4.v,
				      reply_no_of_rows.u4.r,
				      reply_buffer.g.v, max_wait.u2.v,
				      NULL.f.v, 0.i4.v,
				      error_text.i1a.r, return_code.i2.r)

	This routine allows access to the appdb relational databases,
	using standard SQL commands.

	request_no_of_rows	maximum number of rows expected in the reply
	request_buffer		SQL statment text, embedded nulls ok only if
				 request_size (next argument) is specified
	request_size		length in bytes of request_buffer
				 (excluding null termination if present)
				 NULL indicates request_buffer is null
				 terminated with no embedded nulls.
	bytes_per_row		EXACT size of each and every returned row
				 (sum of the lengths of all columns requested)
	reply_no_of_rows	filled with the actual number of rows returned
				 (ignored if NULL, valid when data has returned)
	reply_buffer		user's array of structures, into which the
				 returned rows will be moved
	max_wait		maximum wait time in seconds
				 (10 second default if NULL)
	error_text		pointer to a buffer to be filled with text of
				server error messages (ignored if NULL)
				 (must be 512 bytes per SQL command)
	return_code		filled with ACNET style return code

 THIS FUNCTION IS DEPRECATED.  USE OF db_select/db_modify IS PREFERRED.

 for update:   (SQL insert, update, or exec w/no result set expected)
 ----------
	acnet_status.i2.v = db_send_c(0.v,
				      request_buffer.i1a.r, request_size.u4.v,
				      0.v,
				      reply_no_of_rows.u4.r,
				      0.v, max_wait.u2.v,
				      NULL.f.v, 0.i4.v,
				      error_text.i1a.r, return_code.i2.r)

	This routine allows access to the appdb relational databases,
	using standard SQL commands.

	request_buffer		SQL statment text, embedded nulls ok only if
				 request_size (next argument) is specified
	request_size		length in bytes of request_buffer
				 (excluding null termination if present)
				 NULL indicates request_buffer is null
				 terminated with no embedded nulls.
	reply_no_of_rows	filled with the number of rows affected by the
				 last insert/update/delete in the request_buffer
				 (ignored if NULL)
	max_wait		the maximum wait time in seconds
				(10 second default if NULL)
	error_text		pointer to a buffer to be filled with text of
				server error messages (ignored if NULL)
				 (must be 512 bytes per SQL command)
	return_code		filled with ACNET style return code

 notes:
 -----
	01. When a requested update finishes with a success return_code, this
	    indicates the SQL sent was executed without an error, not that the
	    SQL sent was the correct SQL to produce the desired results.
	    (ie. an update to a non-existent row is NOT a SQL error)
	02. An update may have been successful even if an error was reported.
	    (ie. A timeout might occur after a request has begun being processed
	     by the database and therefore cannot be canceled.)
	03. Because of 01 and 02, the user should re-read the appropriate data
	    after an update to assure the status of the data.
	04. No locks are maintained in between calls to db_send, if a user needs
	    to make sure that data has not changed since the last time a table
	    was used, the user should re-read the data during an update
	    transaction.
	05. Sybase allows an unlimited number of commands in one request, this
	    is most useful for inserts.
	06. Under all circumstances, combining multiple reads/updates in the
	    same request improves efficiency: e.g:
	    ...select d_name from device where d_di in (1,2,3,4)... instead of
	    four separate requests.
	    ...insert tbl values (1,2) insert tbl values (2,3) insert tbl
	    values (3,4)... instead of three separate requests.

	This function returns ACNET status values as follows:

	OK			success
	SQL_xxx			database access failure

	This function requires the following include files:

	clib_h, acnet_errors_h

	Related functions:

	db_select, db_modify, db_open, db_close, db_nextrow, db_error