Re: [PATCH] DLR with field_dst not supported in Mysql/Pgsql

Olivier Dormond <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Mobile News Channel SA
Message-ID <[email protected]>
Hello,

Stipe Tolj wrote:
> Olivier Dormond wrote:
> 
>> If that's the main problem, I think it simply needs to be addressed.
> 
> yep.
> 
>> The simplest instrumentation might be to add a field for the global
>> unified_prefix in the SMSCConn struct. Can we agree on such a scenario ?
> 
> the same unified-prefix value in hundrets of SMSCConns?
> Hmmm... not the way I'd would go for.

Or just a pointer to the global one. But in any ways you will need more
memory to get access to it. Either you spend it as a pointer in SMSCConn
or you spend multiple stack location to pass it through the call chain.

Can you think of something better ? If you are so concerned about wasting
memory, maybe we can just through away one of the unified_prefix.
The global one is only used for the routing and as a duplicate in
bb_smsccon::receive so we might drop the last one and have the SMSCConn
point to the global unified_prefix if none is defined for this smsc.

Cheers,

			Olivier

P.S.: I'll be on holiday from tomorrow for one week so don't expect
replies from me during that period :-)

-- 
----------------------------------------------------------------------
Mobile News Channel                     Direct phone: +41 21 317 50 25
Olivier Dormond                         Central:      +41 21 317 50 20
Av. de la Gare 10
1003 Lausanne                           Email:          [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.