IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 10, 2007, 5:24:58 PM (19 years ago)
Author:
eugene
Message:

converting to kapa2 support: INET socket connections, single device type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kapa-mods-2007-05/Ohana/src/libkapa/include/kapa.h

    r13334 r13344  
    22# define KAPA_H
    33
     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>
    411# include <X11/Xlib.h>
    512# include <png.h>
    613# include <dvo.h>
     14
     15typedef struct sockaddr_in KapaSockAddress;
    716
    817typedef struct {
     
    196205int bDrawRotBitmap (int x, int y, int dx, int dy, unsigned char *bitmap, int mode, double angle, double scale);
    197206
     207/* Kapa Socket functions */
     208int KapaOpen (char *kapa_exec, char *kapa_name);
     209int KapaServerInit (KapaSockAddress *Address);
     210int KapaServerWait (int InitSocket, KapaSockAddress *Address);
     211int KapaDefineValidIP (char *ipstring);
     212int KapaClientSocket (char *hostname);
     213
    198214/* define Kapa names for shared functions */
    199 # define KapaOpen(p,n) KiiOpen(p,n)
     215// # define KapaOpen(p,n) KiiOpen(p,n)
    200216# define KapaResize(fd,Nx,Ny) KiiResize(fd,Nx,Ny)
    201217# define KapaCenter(fd,x,y,z) KiiResize(fd,x,y,z)
Note: See TracChangeset for help on using the changeset viewer.