X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dbus%2Fdbus-errors.h;h=e63139a011450b99a33658f9fcf361bc4d2ee067;hb=2aaeee810d689e23f421cf2b5f3d3f04028c5d40;hp=0a480d8c1ad9285a8b58df70c99af2883fd4368b;hpb=d229e579a314c6b893e0a92730f0bf644b4eabcd;p=platform%2Fupstream%2Fdbus.git diff --git a/dbus/dbus-errors.h b/dbus/dbus-errors.h index 0a480d8..e63139a 100644 --- a/dbus/dbus-errors.h +++ b/dbus/dbus-errors.h @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION) @@ -30,6 +30,7 @@ #include #include +#include DBUS_BEGIN_DECLS @@ -60,19 +61,26 @@ struct DBusError #define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL } +DBUS_EXPORT void dbus_error_init (DBusError *error); +DBUS_EXPORT void dbus_error_free (DBusError *error); +DBUS_EXPORT void dbus_set_error (DBusError *error, const char *name, const char *message, ...); +DBUS_EXPORT void dbus_set_error_const (DBusError *error, const char *name, const char *message); +DBUS_EXPORT void dbus_move_error (DBusError *src, DBusError *dest); +DBUS_EXPORT dbus_bool_t dbus_error_has_name (const DBusError *error, const char *name); +DBUS_EXPORT dbus_bool_t dbus_error_is_set (const DBusError *error); /** @} */