Lines Matching refs:mssql
185 ZEND_DECLARE_MODULE_GLOBALS(mssql)
186 static PHP_GINIT_FUNCTION(mssql);
195 PHP_MINIT(mssql),
196 PHP_MSHUTDOWN(mssql),
197 PHP_RINIT(mssql),
198 PHP_RSHUTDOWN(mssql),
199 PHP_MINFO(mssql),
201 PHP_MODULE_GLOBALS(mssql),
202 PHP_GINIT(mssql),
210 ZEND_GET_MODULE(mssql)
416 static PHP_GINIT_FUNCTION(mssql) in PHP_GINIT_FUNCTION() argument
432 PHP_MINIT_FUNCTION(mssql) in PHP_MINIT_FUNCTION() argument
469 PHP_MSHUTDOWN_FUNCTION(mssql) in PHP_MSHUTDOWN_FUNCTION() argument
483 PHP_RINIT_FUNCTION(mssql) in PHP_RINIT_FUNCTION() argument
503 PHP_RSHUTDOWN_FUNCTION(mssql) in PHP_RSHUTDOWN_FUNCTION() argument
517 PHP_MINFO_FUNCTION(mssql) in PHP_MINFO_FUNCTION() argument
546 mssql_link mssql, *mssql_ptr; in php_mssql_do_connect() local
593 if ((mssql.login = dblogin()) == NULL) { in php_mssql_do_connect()
598 DBERRHANDLE(mssql.login, (EHANDLEFUNC) php_mssql_error_handler); in php_mssql_do_connect()
599 DBMSGHANDLE(mssql.login, (MHANDLEFUNC) php_mssql_message_handler); in php_mssql_do_connect()
603 DBSETLSECURE(mssql.login); in php_mssql_do_connect()
608 DBSETLUSER(mssql.login,user); in php_mssql_do_connect()
611 DBSETLPWD(mssql.login,passwd); in php_mssql_do_connect()
619 DBSETLCHARSET(mssql.login, MS_SQL_G(charset)); in php_mssql_do_connect()
623 DBSETLAPP(mssql.login,MS_SQL_G(appname)); in php_mssql_do_connect()
624 mssql.valid = 1; in php_mssql_do_connect()
627 DBSETLVERSION(mssql.login, DBVER60); in php_mssql_do_connect()
644 dbfreelogin(mssql.login); in php_mssql_do_connect()
650 dbfreelogin(mssql.login); in php_mssql_do_connect()
654 if ((mssql.link = dbopen(mssql.login, host)) == FAIL) { in php_mssql_do_connect()
657 dbfreelogin(mssql.login); in php_mssql_do_connect()
661 if (DBSETOPT(mssql.link, DBBUFFER, "2")==FAIL) { in php_mssql_do_connect()
663 dbfreelogin(mssql.login); in php_mssql_do_connect()
664 dbclose(mssql.link); in php_mssql_do_connect()
671 if (DBSETOPT(mssql.link, DBTEXTLIMIT, buffer)==FAIL) { in php_mssql_do_connect()
673 dbfreelogin(mssql.login); in php_mssql_do_connect()
674 dbclose(mssql.link); in php_mssql_do_connect()
681 dbcmd(mssql.link, buffer); in php_mssql_do_connect()
682 dbsqlexec(mssql.link); in php_mssql_do_connect()
683 dbresults(mssql.link); in php_mssql_do_connect()
690 dbfreelogin(mssql.login); in php_mssql_do_connect()
691 dbclose(mssql.link); in php_mssql_do_connect()
695 memcpy(mssql_ptr, &mssql, sizeof(mssql_link)); in php_mssql_do_connect()
701 dbfreelogin(mssql.login); in php_mssql_do_connect()
702 dbclose(mssql.link); in php_mssql_do_connect()
764 dbfreelogin(mssql.login); in php_mssql_do_connect()
774 dbfreelogin(mssql.login); in php_mssql_do_connect()
784 dbfreelogin(mssql.login); in php_mssql_do_connect()
788 if ((mssql.link=dbopen(mssql.login, host))==NULL) { in php_mssql_do_connect()
791 dbfreelogin(mssql.login); in php_mssql_do_connect()
795 if (DBSETOPT(mssql.link, DBBUFFER,"2")==FAIL) { in php_mssql_do_connect()
797 dbfreelogin(mssql.login); in php_mssql_do_connect()
798 dbclose(mssql.link); in php_mssql_do_connect()
805 if (DBSETOPT(mssql.link, DBTEXTLIMIT, buffer)==FAIL) { in php_mssql_do_connect()
807 dbfreelogin(mssql.login); in php_mssql_do_connect()
808 dbclose(mssql.link); in php_mssql_do_connect()
815 dbcmd(mssql.link, buffer); in php_mssql_do_connect()
816 dbsqlexec(mssql.link); in php_mssql_do_connect()
817 dbresults(mssql.link); in php_mssql_do_connect()
822 memcpy(mssql_ptr, &mssql, sizeof(mssql_link)); in php_mssql_do_connect()