Commit Graph

18 Commits

Author SHA1 Message Date
Slava Monich 0797b23c5d dbus: Use dbus_validate_path
Instead of __ofono_dbus_valid_object_path
2018-01-18 10:53:28 -06:00
John Ernberg 875968d270 smart-messaging: Use g_slist_free_full 2016-04-22 15:26:34 -05:00
Lucas De Marchi e0d6f9f0ce Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi b3489f2ee8 Convert GDBus methods to use macro helpers
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida 63bbdebdf2 Constify GDBus method tables
Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Marcel Holtmann c867c9f9bf plugins: Update copyright information 2011-10-10 13:39:54 -07:00
Lucas De Marchi 16e3c0ffe4 smart-messaging: set agent to NULL after free
If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()
2011-02-02 13:23:30 -06:00
Jeevaka Badrappan 04a8d58515 plugins: M15 coding style fix 2011-01-12 08:06:58 -08:00
Lucas De Marchi 67f78f680d plugins: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 12:55:49 -06:00
Denis Kenzior 473cd4a7c6 smart-messaging: Implement SendAppointment 2010-11-04 10:25:42 -05:00
Denis Kenzior 7ecff9f83b smart-messaging: Implement SendBusinessCard 2010-11-04 10:25:42 -05:00
Denis Kenzior 59bbdd5d08 smart-messaging: Register to vCal notifications 2010-11-02 14:58:21 -05:00
Denis Kenzior 429dcb6ef5 smart-messaging: Register for vCard notifications 2010-11-02 14:58:21 -05:00
Denis Kenzior 6e6409ff42 smart-messaging: Free agent when sms atom exits 2010-11-02 14:58:21 -05:00
Denis Kenzior 49eee4006a smart-messaging: Implement unregister agent 2010-11-02 14:58:21 -05:00
Denis Kenzior d56e72ee1d smart-messaging: Implement RegisterAgent 2010-11-02 14:58:21 -05:00
Aki Niemi 9914b2059e Fix smart messaging D-Bus signatures 2010-10-11 16:00:54 +03:00
Marcel Holtmann 6ce4f46273 build: Rename smart_messaging.c to smart-messaging.c 2010-10-01 07:51:43 +02:00