aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_pgsql.c
AgeCommit message (Collapse)AuthorFilesLines
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06add missing includerussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32673 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-1/+1
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29add reload() (bug 9981)rizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-0/+4
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14fix another svn merge bugrizzo1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-5/+12
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11normalize code in preparation to module changesrizzo1-4/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19189 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10remove a couple more unnecessary "out of memory" error messagesrussell1-7/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18723 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10use ast_*alloc and don't create duplicated error messages.russell1-43/+25
... as stated in the coding guidelines. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10Instead of using strncpy, use ast_copy_string. Also, in the case of copying arussell1-9/+9
constant string into a buffer that we know is big enough, don't use a length limited copy at all, use strcpy. ... as stated in the coding guidelines. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18721 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10run the module through indent to fix the formatting issues that violate therussell1-353/+398
coding guidelines git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10add back braces that were removed in a recent commit that leave a bunch ofrussell1-1/+2
nested statements in a block without branches, which is a violation of the coding guidelines. As a matter of fact, this module violates the coding guidelines in multiple ways that including formatting and code issues. In my opinion, this module should not have been merged into the trunk in this form. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09Issue 6917 - some cleanups for res_config_pgsql.c (mithraen)oej1-14/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08a few cleanups from the last commitkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06Issue #6893 - Compiler warnings for PostgreSQL ARA driveroej1-8/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17740 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Issue #5637 - Realtime driver for PostgreSQL (mguesdon)oej1-0/+793
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17628 f38db490-d61c-443f-a65b-d21fe96a405b