2012-02-05 18:12:50 -06:00
|
|
|
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SHM_H
|
|
|
|
#define SHM_H
|
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
|
2012-02-05 19:56:21 -06:00
|
|
|
#define SHM_PATH_SEPARATOR "."
|
|
|
|
|
2012-02-05 18:12:50 -06:00
|
|
|
typedef struct {
|
|
|
|
char name[256];
|
|
|
|
} shm_node_t;
|
|
|
|
|
|
|
|
char * shm_negotiate(char * shm_path, uintptr_t address, size_t * size);
|
|
|
|
int shm_free(char * shm_path);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|