File: ipc.h

package info (click to toggle)
vic 2.8ucl4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,864 kB
  • ctags: 9,033
  • sloc: ansic: 56,989; cpp: 44,560; tcl: 5,550; sh: 1,382; perl: 1,329; makefile: 357
file content (33 lines) | stat: -rw-r--r-- 886 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * $Header: /cs/research/mice/starship/src/local/CVS_repository/vic/rcap-include/ipc.h,v 1.1.1.1 1998/02/18 18:04:00 ucacsva Exp $
 *
 * ipc.h
 * Bruce A. Mah (bmah@tenet.berkeley.edu)
 *
 * $Log: ipc.h,v $
 * Revision 1.1.1.1  1998/02/18 18:04:00  ucacsva
 * original vic-2.8 sources for Rm209
 *
 * Revision 1.3  1992/05/12  21:00:57  bmah
 * Fixed a typo in function declaration of IpcRecv.  Split; versions of
 * this file for library and daemon are now separate.
 *
 * Revision 1.2  1992/01/18  22:45:29  bmah
 * Added prototypes for ipc routines.
 *
 * Revision 1.1  1991/12/16  02:55:13  bmah
 * Initial revision
 *
 */

#ifndef IPC_H
#define IPC_H

#define RCAP_PORT 10000
#define RCAP_HOST "localhost"

extern int IpcInit(void);
extern int IpcSend(unsigned char *theBytes, int length);
extern int IpcRecv(unsigned char *theBytes, int *readLength, int bufferLength);

#endif