libDynamoMiddleware.h File Reference
Desktop based Middleware Libraries. More...
Data Structures | |
struct | dynamo_backlight |
Contains Backlight information. More... | |
struct | dynamo_battery |
Contains Battery information. More... | |
struct | dynamo_cpu |
Contains CPU Information. More... | |
struct | dynamo_memory |
Contains Memory Information. More... | |
struct | dynamo_network |
Contains Network Information. More... | |
Functions | |
int | createSharedMemory (int key, int size) |
creates a chunk of shared memory | |
int | readSharedMemory (int shmid, void *data, int size) |
reads from the shared memory into a structuer | |
int | writeSharedMemory (int shmid, void *data, int size) |
writes data to the shared memory | |
int | freeSharedMemory (int shmid) |
releases the memory with id of shmid | |
int | createSemaphore (int key) |
translate semaphore key to an ID | |
int | freeSemaphore (int sem_id) |
free specified Semaphore | |
void | P (int sid) |
acquire semaphore | |
void | V (int sid) |
release semaphore | |
int | SendDatagram (char *targetIP, int targetPort, int localPort, void *buf, int bufsiz) |
Sends a Datagram to a remote computer. | |
int | CreateUDPSocket (char *localIP, int localPort) |
creates a UPD socket | |
int | UDP_Recv (int sockfd, void *buf, int size) |
Recives a datagram a remote computer. | |
int | UDP_Send (int sockfd, char *targetIP, int targetPort, int localPort, void *buf, int bufsiz) |
Sends a Datagram to a remote computer. |
Detailed Description
Desktop based Middleware Libraries.Dynamo Middleware libraries, provide a easy to use interface for querying system information, utilizing shared memory, and communication framework
Copyright (C) 2004 Dynamo Middleware Group
version 0.5
Authors: Michael Philpott, Shivajit Mohapatra
Function Documentation
|
translate semaphore key to an ID
|
|
creates a chunk of shared memory
|
|
creates a UPD socket
|
|
free specified Semaphore
|
|
releases the memory with id of shmid
|
|
acquire semaphore
|
|
reads from the shared memory into a structuer
|
|
Sends a Datagram to a remote computer.
|
|
Recives a datagram a remote computer.
|
|
Sends a Datagram to a remote computer.
|
|
release semaphore
|
|
writes data to the shared memory
|