purplepipe.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "../../mem/shm_mem.h"
#include "purplepipe.h"
#include "purple.h"

Include dependency graph for purplepipe.c:

Go to the source code of this file.

Functions

void purple_free_cmd (struct purple_cmd *cmd)
static struct purple_cmdpurple_new_cmd (enum purple_cmd_type type)
static int purple_send_cmd (struct purple_cmd **cmd)
int purple_send_message_cmd (str *from, str *to, str *body, str *id)
int purple_send_publish_cmd (enum purple_publish_basic basic, PurpleStatusPrimitive primitive, str *from, str *id, str *note)
int purple_send_subscribe_cmd (str *from, str *to, int expires)
static char * shm_strdup (str *src)

Variables

int pipefds [2]


Function Documentation

void purple_free_cmd ( struct purple_cmd cmd  ) 

static struct purple_cmd* purple_new_cmd ( enum purple_cmd_type  type  )  [static, read]

static int purple_send_cmd ( struct purple_cmd **  cmd  )  [static]

int purple_send_message_cmd ( str from,
str to,
str body,
str id 
)

int purple_send_publish_cmd ( enum purple_publish_basic  basic,
PurpleStatusPrimitive  primitive,
str from,
str id,
str note 
)

int purple_send_subscribe_cmd ( str from,
str to,
int  expires 
)

static char* shm_strdup ( str src  )  [static]

Definition at line 33 of file purplepipe.c.

References _str::len, NULL, _str::s, and shm_malloc().


Variable Documentation

int pipefds[2]

Definition at line 51 of file purple.c.

Referenced by init(), purple_send_cmd(), and runprocs().


Generated on Thu May 24 08:01:16 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6