Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

nua_glib.h File Reference


Detailed Description

Glib Interface for Sofia-SIP User-Agent API (NUA)

Author:
Kai Vehmanen <Kai.Vehmanen@nokia.com>

Rob Taylor <rob.taylor@collabora.co.uk>

Pekka Pessi <Pekka.Pessi@nokia.com>

Definition in file nua_glib.h.

#include <glib-object.h>
#include <sofia-sip/sip.h>
#include <sofia-sip/sip_status.h>

Go to the source code of this file.

Classes

struct  _NuaGlib
struct  _NuaGlibClass

Defines

#define NUA_GLIB(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), NUA_GLIB_TYPE, NuaGlib))
#define NUA_GLIB_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), NUA_GLIB_TYPE, NuaGlibClass))
#define NUA_GLIB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), NUA_GLIB_TYPE, NuaGlibClass))
#define NUA_GLIB_IS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), NUA_GLIB_TYPE))
#define NUA_GLIB_IS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), NUA_GLIB_TYPE))
#define NUA_GLIB_TYPE   (nua_glib_get_type())

Typedefs

typedef struct _NuaGlib NuaGlib
typedef struct _NuaGlibClass NuaGlibClass
typedef struct _NuaGlibOp NuaGlibOp
typedef struct _NuaGlibPrivate NuaGlibPrivate

Enumerations

enum  NuaGlibMediaActive {
  NUA_GLIB_MEDIA_DISABLED = -4, NUA_GLIB_MEDIA_REJECTED = -8, NUA_GLIB_MEDIA_INACTIVE = 0, NUA_GLIB_MEDIA_SENDONLY = 1,
  NUA_GLIB_MEDIA_RECVONLY = 2, NUA_GLIB_MEDIA_SENDRECV
}

Functions

void nua_glib_answer (NuaGlib *self, NuaGlibOp *op, int status, const char *phrase, const char *sdp)
void nua_glib_auth_add (NuaGlib *self, NuaGlibOp *op, const char *method, const char *realm, const char *user, const char *password)
void nua_glib_auth_clear (NuaGlib *self, NuaGlibOp *op)
void nua_glib_bye (NuaGlib *cli, NuaGlibOp *op)
void nua_glib_cancel (NuaGlib *cli, NuaGlibOp *op)
void nua_glib_follow_refer (NuaGlib *cli, NuaGlibOp *op)
GType nua_glib_get_type (void)
void nua_glib_hold (NuaGlib *self, NuaGlibOp *op, int hold)
void nua_glib_info (NuaGlib *self, NuaGlibOp *op, const char *content_type, const char *message)
NuaGlibOp * nua_glib_invite (NuaGlib *self, const char *destination, const char *local_sdp)
NuaGlibOp * nua_glib_message (NuaGlib *self, const char *destination_uri, const char *message)
NuaGlibOp * nua_glib_notifier (NuaGlib *self, const char *from, const char *event, const char *content_type, const char *expires)
void nua_glib_notify (NuaGlib *self, NuaGlibOp *op)
gpointer nua_glib_op_get_data (NuaGlibOp *op)
const gchar * nua_glib_op_get_identity (NuaGlibOp *op)
sip_method_t nua_glib_op_method_type (NuaGlibOp *op)
NuaGlib * nua_glib_op_owner (NuaGlibOp *op)
void nua_glib_op_set_data (NuaGlibOp *op, gpointer data)
NuaGlibOp * nua_glib_options (NuaGlib *self, const char *destination_uri)
NuaGlibOp * nua_glib_publish (NuaGlib *self, const char *note)
void nua_glib_redirect (NuaGlib *self, NuaGlibOp *op, const char *contact)
void nua_glib_refer (NuaGlib *self, NuaGlibOp *op, const char *destination)
NuaGlibOp * nua_glib_register (NuaGlib *self, const char *registrar)
void nua_glib_republish (NuaGlib *self, NuaGlibOp *op, const char *note)
void nua_glib_reregister (NuaGlib *self, NuaGlibOp *op)
NuaGlibOp * nua_glib_subscribe (NuaGlib *self, const char *uri, gboolean eventlist)
void nua_glib_subscribe_respond (NuaGlib *self, NuaGlibOp *op, int status, const char *phrase)
void nua_glib_unpublish (NuaGlib *cli, NuaGlibOp *op)
NuaGlibOp * nua_glib_unpublish_direct (NuaGlib *self)
void nua_glib_unregister (NuaGlib *self, NuaGlibOp *op)
NuaGlibOp * nua_glib_unregister_direct (NuaGlib *self, const char *registrar)
void nua_glib_unsubscribe (NuaGlib *self, NuaGlibOp *op)
NuaGlibOp * nua_glib_watch (NuaGlib *self, char *event)


Generated by  Doxygen 1.6.0   Back to index