~indicator-network-developers/ofono/trunk.packaging

« back to all changes in this revision

Viewing changes to src/ofono.h

  • Committer: Kalle Valo
  • Date: 2010-11-08 09:54:19 UTC
  • mfrom: (2738.1.1165)
  • Revision ID: kalle.valo@canonical.com-20101108095419-3u5fy1msw22i8ubt
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
        OFONO_SMS_SUBMIT_FLAG_REQUEST_SR =      0x1,
233
233
        OFONO_SMS_SUBMIT_FLAG_RECORD_HISTORY =  0x2,
234
234
        OFONO_SMS_SUBMIT_FLAG_RETRY =           0x4,
 
235
        OFONO_SMS_SUBMIT_FLAG_EXPOSE_DBUS =     0x8,
235
236
};
236
237
 
237
238
typedef void (*ofono_sms_txq_submit_cb_t)(gboolean ok, void *data);
 
239
typedef void (*ofono_sms_txq_queued_cb_t)(struct ofono_sms *sms,
 
240
                                                const struct ofono_uuid *uuid,
 
241
                                                void *data);
238
242
typedef void (*ofono_sms_text_notify_cb_t)(const char *from,
239
243
                                                const struct tm *remote,
240
244
                                                const struct tm *local,
250
254
 
251
255
int __ofono_sms_txq_submit(struct ofono_sms *sms, GSList *list,
252
256
                                unsigned int flags, struct ofono_uuid *uuid,
253
 
                                ofono_sms_txq_submit_cb_t cb,
254
 
                                void *data, ofono_destroy_func destroy);
 
257
                                ofono_sms_txq_queued_cb_t, void *data);
 
258
 
 
259
int __ofono_sms_txq_set_submit_notify(struct ofono_sms *sms,
 
260
                                        struct ofono_uuid *uuid,
 
261
                                        ofono_sms_txq_submit_cb_t cb,
 
262
                                        void *data,
 
263
                                        ofono_destroy_func destroy);
 
264
 
 
265
const char *__ofono_sms_message_path_from_uuid(struct ofono_sms *sms,
 
266
                                                const struct ofono_uuid *uuid);
255
267
 
256
268
unsigned int __ofono_sms_text_watch_add(struct ofono_sms *sms,
257
269
                                        ofono_sms_text_notify_cb_t cb,
266
278
gboolean __ofono_sms_datagram_watch_remove(struct ofono_sms *sms,
267
279
                                        unsigned int id);
268
280
 
 
281
unsigned short __ofono_sms_get_next_ref(struct ofono_sms *sms);
 
282
 
269
283
#include <ofono/sim.h>
270
284
#include <ofono/stk.h>
271
285