Displaying 3 results from an estimated 3 matches for "tds_alloc_context".
2007 Nov 21
1
Problem installing Asterisk
...undeclared (first use in this
function)
cdr_tds.c:326: error: (Each undeclared identifier is reported only once
cdr_tds.c:326: error: for each function it appears in.)
cdr_tds.c:326: error: `connection' undeclared (first use in this function)
cdr_tds.c:349: error: too few arguments to function `tds_alloc_context'
cdr_tds.c:375: warning: implicit declaration of function `tds_free_connect'
cdr_tds.c:389: error: `result_type' undeclared (first use in this function)
cdr_tds.c:389: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `tds_load_module':
cdr_...
2005 Aug 25
2
Custom Application For Asterisk
...ogin, abcdpassword);
tds_set_app(login, "TSQL");
tds_set_library(login, "TDS-Library");
#ifndef TDS_PRE_0_62
tds_set_client_charset(login, abcdcharset);
#endif
tds_set_language(login, abcdlanguage);
tds_set_packet(login, 512);
tds_set_version(login, 7, 0);
if (!(context = tds_alloc_context())) {
ast_log(LOG_ERROR, "tds_alloc_context() failed.\n");
goto connect_fail;
}
if (!(tds = tds_alloc_socket(context, 512))) {
ast_log(LOG_ERROR, "tds_alloc_socket() failed.\n");
goto connect_fail;
}
tds_set_parent(tds, NULL);
connection = tds_read_config_info(tds,...
2005 Jul 04
1
Asterisk 1.0.9 and FreeTDS
...undeclared (first use in this
function)
cdr_tds.c:415: error: (Each undeclared identifier is reported only once
cdr_tds.c:415: error: for each function it appears in.)
cdr_tds.c:415: error: `connection' undeclared (first use in this function)
cdr_tds.c:437: error: too few arguments to function `tds_alloc_context'
cdr_tds.c:460: warning: implicit declaration of function `tds_free_connect'
cdr_tds.c: At top level:
cdr_tds.c:71: warning: `connect_time' defined but not used
make[1]: *** [cdr_tds.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/cdr'
make: *** [subdirs] Error 1
I checked...