Back to index

lightning-sunbird  0.9+nobinonly
Functions
ipcd.h File Reference
#include "ipcModule.h"
#include "ipcMessage.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PRStatus IPC_DispatchMsg (ipcClientHandle client, const nsID &target, const void *data, PRUint32 dataLen)
PRStatus IPC_SendMsg (ipcClientHandle client, const nsID &target, const void *data, PRUint32 dataLen)
ipcClientHandle IPC_GetClientByID (PRUint32 id)
ipcClientHandle IPC_GetClientByName (const char *name)
void IPC_EnumClients (ipcClientEnumFunc func, void *closure)
PRUint32 IPC_GetClientID (ipcClientHandle client)
PRBool IPC_ClientHasName (ipcClientHandle client, const char *name)
PRBool IPC_ClientHasTarget (ipcClientHandle client, const nsID &target)
void IPC_EnumClientNames (ipcClientHandle client, ipcClientNameEnumFunc func, void *closure)
void IPC_EnumClientTargets (ipcClientHandle client, ipcClientTargetEnumFunc func, void *closure)
PRStatus IPC_DispatchMsg (ipcClientHandle client, const ipcMessage *msg)
PRStatus IPC_SendMsg (ipcClientHandle client, ipcMessage *msg)
void IPC_NotifyClientUp (ipcClientHandle client)
void IPC_NotifyClientDown (ipcClientHandle client)

Function Documentation

PRBool IPC_ClientHasName ( ipcClientHandle  client,
const char *  name 
) [inline]

Definition at line 96 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->clientHasName(client, name);
}

Here is the caller graph for this function:

PRBool IPC_ClientHasTarget ( ipcClientHandle  client,
const nsID target 
) [inline]

Definition at line 103 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->clientHasTarget(client, target);
}

Here is the caller graph for this function:

PRStatus IPC_DispatchMsg ( ipcClientHandle  client,
const nsID target,
const void data,
PRUint32  dataLen 
) [inline]

Definition at line 54 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->dispatchMsg(client, target, data, dataLen);
}

Here is the caller graph for this function:

void IPC_EnumClientNames ( ipcClientHandle  client,
ipcClientNameEnumFunc  func,
void closure 
) [inline]

Definition at line 110 of file ipcModuleUtil.h.

Here is the caller graph for this function:

void IPC_EnumClients ( ipcClientEnumFunc  func,
void closure 
) [inline]

Definition at line 82 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    gIPCDaemonMethods->enumClients(func, closure);
}

Here is the caller graph for this function:

void IPC_EnumClientTargets ( ipcClientHandle  client,
ipcClientTargetEnumFunc  func,
void closure 
) [inline]

Definition at line 117 of file ipcModuleUtil.h.

Here is the caller graph for this function:

Definition at line 68 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->getClientByID(id);
}

Here is the caller graph for this function:

ipcClientHandle IPC_GetClientByName ( const char *  name) [inline]

Definition at line 75 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->getClientByName(name);
}

Here is the caller graph for this function:

Definition at line 89 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->getClientID(client);
}

Here is the caller graph for this function:

PRStatus IPC_SendMsg ( ipcClientHandle  client,
const nsID target,
const void data,
PRUint32  dataLen 
) [inline]

Definition at line 61 of file ipcModuleUtil.h.

{
    PR_ASSERT(gIPCDaemonMethods);
    return gIPCDaemonMethods->sendMsg(client, target, data, dataLen);
}