On Mon, 06 Dec 2010 20:38:58 -0600
Denis Kenzior <denkenz(a)gmail.com> wrote:
> + /*
> + * file name is: imsi/order in tx_queue-uuid/order of pdus
> + */
> + if (write_file(buf, len, SMS_BACKUP_MODE,
> + SMS_TX_BACKUP_PATH_FILE, imsi, id, uuid,
> + seq) != len)
> + return FALSE;
And where are you taking care of storing the other needed information?
e.g. the tx_queue entry flags, retry count, etc?
I can easily add the flags and retry count. As far as the "etc"
that you mention, the only other information I see would be
entry->cb and entry->data, which I was thinking might have to
get lost. I am not sure how to persist that information on
disk - do you have any suggestions?