Content-Type: multipart/mixed; boundary="===============6405709224798627780==" MIME-Version: 1.0 From: Kristen Carlson Accardi Subject: Re: [PATCH 1/3] sms: store pending tx pdus on disk Date: Tue, 07 Dec 2010 14:57:58 -0800 Message-ID: <20101207145758.26059ea5@kcaccard-MOBL3> In-Reply-To: <4CFD9E42.3050109@gmail.com> List-Id: To: ofono@ofono.org --===============6405709224798627780== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, 06 Dec 2010 20:38:58 -0600 Denis Kenzior 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) !=3D 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? --===============6405709224798627780==--