- Timestamp:
- May 10, 2007, 5:24:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kapa-mods-2007-05/Ohana/src/libkapa/include/kapa.h
r13334 r13344 2 2 # define KAPA_H 3 3 4 /* linux is happy with this, not solaris */ 5 # include <netinet/ip.h> 6 # include <netdb.h> 7 # include <arpa/inet.h> 8 9 # include <sys/types.h> 10 # include <sys/socket.h> 4 11 # include <X11/Xlib.h> 5 12 # include <png.h> 6 13 # include <dvo.h> 14 15 typedef struct sockaddr_in KapaSockAddress; 7 16 8 17 typedef struct { … … 196 205 int bDrawRotBitmap (int x, int y, int dx, int dy, unsigned char *bitmap, int mode, double angle, double scale); 197 206 207 /* Kapa Socket functions */ 208 int KapaOpen (char *kapa_exec, char *kapa_name); 209 int KapaServerInit (KapaSockAddress *Address); 210 int KapaServerWait (int InitSocket, KapaSockAddress *Address); 211 int KapaDefineValidIP (char *ipstring); 212 int KapaClientSocket (char *hostname); 213 198 214 /* define Kapa names for shared functions */ 199 # define KapaOpen(p,n) KiiOpen(p,n)215 // # define KapaOpen(p,n) KiiOpen(p,n) 200 216 # define KapaResize(fd,Nx,Ny) KiiResize(fd,Nx,Ny) 201 217 # define KapaCenter(fd,x,y,z) KiiResize(fd,x,y,z)
Note:
See TracChangeset
for help on using the changeset viewer.
