~ubuntu-branches/ubuntu/precise/ettercap/precise

« back to all changes in this revision

Viewing changes to src/include/ec_buffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Murat Demirten
  • Date: 2003-06-21 19:57:18 UTC
  • Revision ID: james.westby@ubuntu.com-20030621195718-qqbbfk18e1djchd9
Tags: upstream-0.6.b
ImportĀ upstreamĀ versionĀ 0.6.b

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#if !defined(EC_BUFFER_H)
 
3
#define EC_BUFFER_H
 
4
 
 
5
extern int Buffer_Get(int bufferID, void *data, short size);   // use it like read()
 
6
extern int Buffer_Put(int bufferID, void *data, short size);   // use it like write()
 
7
extern int Buffer_Create(int len);                             // creates the shared buffer
 
8
extern void Buffer_Flush(int ID);                              // flush it
 
9
 
 
10
extern int ConnBuffer_Get(char *buf, void *data, int size);
 
11
extern int ConnBuffer_Put(char *buf, void *data, int size);
 
12
extern char *ConnBuffer_Create(int len);
 
13
extern void ConnBuffer_Destroy(char *buf);
 
14
extern void ConnBuffer_Flush(char *buf);
 
15
 
 
16
#endif
 
17
 
 
18
/* EOF */
 
19
 
 
20
 
 
21
 
 
22
 
 
23
// vim:ts=3:expandtab
 
24