remote.h 890 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  3. * Copyright (C) 2006 Red Hat, Inc.
  4. * All rights reserved.
  5. *
  6. * License: GPL (version 3 or any later version).
  7. * See LICENSE for details.
  8. * END COPYRIGHT BLOCK **/
  9. #ifdef HAVE_CONFIG_H
  10. # include <config.h>
  11. #endif
  12. /*
  13. FILE : remote.h
  14. AUTHOR : Jean-Luc SCHWING
  15. VERSION : 1.0
  16. DATE : 04 May 1999
  17. DESCRIPTION :
  18. This file contains the definitions used by the remote
  19. control module of ldclt.
  20. */
  21. /*
  22. * Network includes
  23. */
  24. #include <sys/types.h>
  25. #include <fcntl.h>
  26. #include <sys/stat.h>
  27. #include <inttypes.h>
  28. #include <sys/socket.h>
  29. #include <netdb.h>
  30. #include <netinet/in.h>
  31. #include <netinet/tcp.h>
  32. typedef struct {
  33. uint32_t type,res,dnSize;
  34. char dn[sizeof(uint32_t)];
  35. } repconfirm;
  36. extern int masterPort;
  37. /* End of file */