how should merge be done, when function names differ? should we support
both names or choose one?
for example, max_forwards module:
s:
maxfwd_process(max_value)
maxfwd_at_least(min_value)
k:
mf_process_maxfwd_header(max_value)
is_maxfwd_lt(max_value)
my vote is to take one that has better documentation.
-- juha
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0f22959…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 14:40:34 2009 +0200
dialplan: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e772f6a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 14:40:19 2009 +0200
db_flatstore: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa9c7d3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 14:39:58 2009 +0200
db_flatstore: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=04f66b6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 14:39:09 2009 +0200
carrierroute: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fe64f7f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:46:05 2009 +0200
utils: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f9fe106…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:45:21 2009 +0200
xcap_client: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=212e75b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:45:05 2009 +0200
usrloc: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=571bc6e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:44:52 2009 +0200
userblacklist: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e8b35ce…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:44:37 2009 +0200
siptrace: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b821393…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:44:11 2009 +0200
regexp: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=74e3087…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:43:03 2009 +0200
ratelimit: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ba94f02…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:42:46 2009 +0200
pv: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=adf4a91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:42:24 2009 +0200
pua_mi: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d5361e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:41:59 2009 +0200
presence_xml: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6b55446…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:41:45 2009 +0200
presence: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6635cb9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:41:34 2009 +0200
pike: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=00c0a17…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:41:15 2009 +0200
permissions: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16310fd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:40:56 2009 +0200
perl: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b30d226…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:40:42 2009 +0200
pdt: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=120e032…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:40:20 2009 +0200
nathelper: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=60b34eb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:40:01 2009 +0200
lcr: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=700e6f7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:39:45 2009 +0200
imc: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8e47fc6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:39:26 2009 +0200
htable: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fa12669…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:39:04 2009 +0200
domain: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f07cb98…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:38:35 2009 +0200
cpl-c: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9f8d47c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:38:00 2009 +0200
dialog: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2633b5a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:37:22 2009 +0200
cfgutils: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cdcc7ce…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 21 13:36:37 2009 +0200
benchmark: export MI commands
- MI commands exported from mod_init
- MI API is now a library (lib/kmi), SR core does not call anymore
register_mi_mod(...)
Hi *,
Before moving more modules consider the following problem cases:
- same module in k uses mi and in ser rpc => for the near future we
cannot choose one over the other, because some functionality will be
lost (e.g. choosing the k module will leave someone wanting a ser like
config having to use mi for one module).
- a module includes stuff from other modules (e.g. auth_* & auth) =>
it's probably not safe to replace it with only one version, until the
modules they depend on are merged.
- even if the module exists only in ser or in k, it might be
unmaintained or obsolete (in which case we better make another dir,
something like modules_obsolete or unmaintained and move them there
until somebody volunteers to take over).
Part of the problem is if we merge everything now or latter. I think
latter is better, unless you want a larger delay (there are just too
many modules/interfaces to merge and too few people knowing enough about
both projects to do it). There are other points we haven't even
discussed yet (like rpc & mi, it doesn't make sense to have 2 management
interfaces in the long run).
Andrei
is there a way to tell that i want to compile only a given list of
modules? i don't like to list excluded modules, because if i use that,
i need to keep on adding stuff to the list all the time.
-- juha
i did some adds/commits, but did not push them yet. now i want to get
my repo to clean stage it was before all this. in svn world i would
give command 'svn revert', but with git i haven't found anything simple
(nor working complicated) way to accomplish it. is there any?
-- juha
Module: sip-router
Branch: master
Commit: c14314a41793c03c0e9b348845b403c27875e85a
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c14314a…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Apr 20 10:56:11 2009 +0200
presence_xml(k): futex warning fix
- added _BSD_SOURCE define if _XOPEN_SOURCE is manually defined
(the _XOPEN_SOURCE define in pidf.c caused _BSD_SOURCE to be no
longer defined in features.h => _USE_MISC not defined =>
syscall() not declared in unistd.h.)
---
modules_k/presence_xml/pidf.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence_xml/pidf.c b/modules_k/presence_xml/pidf.c
index d83fd6d..36eb2a5 100644
--- a/modules_k/presence_xml/pidf.c
+++ b/modules_k/presence_xml/pidf.c
@@ -38,6 +38,9 @@
*/
#ifndef __OS_solaris
#define _XOPEN_SOURCE 600 /* glibc2 on linux, bsd */
+ #define _BSD_SOURCE 1 /* needed on linux to "fix" the effect
+ of the above define on
+ features.h/unistd.h syscall() */
#else
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
#endif
i tried to move presence modules to modules directory, but got this kind
of error message a few times:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev23-make"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -DOPENSER_MOD_INTERFACE -DMOD_NAME='"presence_dialoginfo"' -c pidf.c -o pidf.o
In file included from ../../parser/../mem/../lock_ops.h:85,
from ../../parser/../mem/shm_mem.h:76,
from ../../parser/../ut.h:67,
from ../../parser/../ip_addr.h:49,
from ../../parser/msg_parser.h:57,
from ../../sr_module.h:63,
from pidf.c:54:
../../parser/../mem/../futexlock.h: In function ??futex_get??:
../../parser/../mem/../futexlock.h:94: warning: implicit declaration of function ??syscall??
any idea how to make the declaration explicit?
-- juha
Module: sip-router
Branch: master
Commit: aa416e89057be4112fe0ba40aa24c14e9a5d9f82
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa416e8…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Apr 20 10:47:34 2009 +0200
presence_dialoginfo(k): futex warning fix
- added _BSD_SOURCE define if _XOPEN_SOURCE is manually defined
(the _XOPEN_SOURCE define in pidf.c caused _BSD_SOURCE to be no
longer defined in features.h => _USE_MISC not defined =>
syscall() not declared in unistd.h.)
---
modules_k/presence_dialoginfo/pidf.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence_dialoginfo/pidf.c b/modules_k/presence_dialoginfo/pidf.c
index e2b3222..9285d2b 100644
--- a/modules_k/presence_dialoginfo/pidf.c
+++ b/modules_k/presence_dialoginfo/pidf.c
@@ -38,6 +38,9 @@
*/
#ifndef __OS_solaris
#define _XOPEN_SOURCE 600 /* glibc2 on linux, bsd */
+ #define _BSD_SOURCE 1 /* needed on linux to "fix" the effect
+ of the above define on
+ features.h/unistd.h syscall() */
#else
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
#endif