rec_num.c File Reference

#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <mvp_refmem.h>
#include <cmyth.h>
#include <cmyth_local.h>

Go to the source code of this file.

Functions

static void cmyth_rec_num_destroy (cmyth_rec_num_t rn)
cmyth_rec_num_t cmyth_rec_num_create (void)
cmyth_rec_num_t cmyth_rec_num_hold (cmyth_rec_num_t p)
void cmyth_rec_num_release (cmyth_rec_num_t p)
cmyth_rec_num_t cmyth_rec_num_get (char *host, unsigned short port, unsigned id)
char * cmyth_rec_num_string (cmyth_rec_num_t rn)


Function Documentation

cmyth_rec_num_t cmyth_rec_num_create void   ) 
 

Definition at line 78 of file rec_num.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, cmyth_rec_num_destroy(), ref_alloc, and ref_set_destroy().

Referenced by cmyth_rec_num_get().

static void cmyth_rec_num_destroy cmyth_rec_num_t  rn  )  [static]
 

Definition at line 51 of file rec_num.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, cmyth_rec_num::recnum_host, and ref_release().

Referenced by cmyth_rec_num_create().

cmyth_rec_num_t cmyth_rec_num_get char *  host,
unsigned short  port,
unsigned  id
 

Definition at line 168 of file rec_num.c.

References cmyth_rec_num_create(), cmyth_rec_num::recnum_host, cmyth_rec_num::recnum_id, cmyth_rec_num::recnum_port, ref_release(), and ref_strdup().

cmyth_rec_num_t cmyth_rec_num_hold cmyth_rec_num_t  p  ) 
 

Definition at line 118 of file rec_num.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, and ref_hold().

void cmyth_rec_num_release cmyth_rec_num_t  p  ) 
 

Definition at line 143 of file rec_num.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, and ref_release().

char* cmyth_rec_num_string cmyth_rec_num_t  rn  ) 
 

Definition at line 204 of file rec_num.c.

References port, cmyth_rec_num::recnum_host, cmyth_rec_num::recnum_id, and cmyth_rec_num::recnum_port.


Generated on Fri Sep 10 03:13:22 2010 for mvpmc by  doxygen 1.4.6