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

torture_su_port.c File Reference


Detailed Description

Test su_poll_port interface.

For internal use only.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>
Date:
Created: Wed Mar 10 17:05:23 2004 ppessi

Definition in file torture_su_port.c.

#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include "su_poll_port.c"
#include <sofia-sip/tstdef.h>

Go to the source code of this file.

Classes

struct  su_root_magic_s

Defines

#define HAVE_EPOLL   0
#define SU_ROOT_MAGIC_T   struct su_root_magic_s
#define TSTFLAGS   tstflags

Functions

static int callback (su_root_magic_t *magic, su_wait_t *w, su_wakeup_arg_t *arg)
int main (int argc, char *argv[])
int test_register (void)
int test_sup_indices (su_port_t const *port)
int test_wakeup (su_port_t *port, su_root_magic_t *magic)
void usage (int exitcode)

Variables

static char const __func__ [] = "torture_su_port"
int const N0 = SU_MBOX_SIZE > 0, N = 128, I = 129
char const * name = "torture_su_port"
int tstflags


Generated by  Doxygen 1.6.0   Back to index