repo.or.cz
/
cinelerra_cv
/
mob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git]
/
cinelerra
/
shmemory.h
blob
c4aef53ad86e6cfe4864a06def4393c03a457498
1
#ifndef SHMEM_H
2
#define SHMEM_H
3
4
#include <stdio.h>
5
#include <stdlib.h>
6
#include <sys/ipc.h>
7
#include <sys/shm.h>
8
9
class
SharedMem
10
{
11
public
:
12
SharedMem
(
long
size
);
13
SharedMem
(
int
id
,
long
size
);
14
~
SharedMem
();
15
16
int
get_id
();
17
long
get_size
();
18
19
char
*
data
;
20
long
size
;
21
int
shmid
;
22
int
client
;
23
};
24
25
26
#endif