ipcp.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <adt/hash_table.h>
#include <sys/typefmt.h>
#include "ipc_desc.h"
#include "proto.h"
#include "trace.h"
#include "ipcp.h"

Go to the source code of this file.

Data Structures

struct  connection_t
struct  pending_call_t

Defines

#define IPCP_CALLID_SYNC   0
#define MAX_PHONE   64
#define PCALL_TABLE_CHAINS   32

Functions

static void ipc_m_print (proto_t *proto, sysarg_t method)
void ipcp_call_in (ipc_call_t *call, ipc_callid_t hash)
void ipcp_call_out (int phone, ipc_call_t *call, ipc_callid_t hash)
void ipcp_call_sync (int phone, ipc_call_t *call, ipc_call_t *answer)
void ipcp_cleanup (void)
void ipcp_connection_clear (int phone)
void ipcp_connection_set (int phone, int server, proto_t *proto)
void ipcp_hangup (int phone, int rc)
void ipcp_init (void)
static void parse_answer (ipc_callid_t hash, pending_call_t *pcall, ipc_call_t *answer)
static int pending_call_compare (unsigned long key[], hash_count_t keys, link_t *item)
static hash_index_t pending_call_hash (unsigned long key[])
static void pending_call_remove_callback (link_t *item)

Variables

connection_t connections [MAX_PHONE]
int have_conn [MAX_PHONE]
hash_table_operations_t pending_call_ops
hash_table_t pending_calls
proto_tproto_system
 Protocol describing system IPC methods.
proto_tproto_unknown
 Protocol with no known methods.


Detailed Description

Definition in file ipcp.c.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7