osapi-os-net.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. ** File: osapi-os-net.h
  3. **
  4. ** Copyright (c) 2004-2006, United States government as represented by the
  5. ** administrator of the National Aeronautics Space Administration.
  6. ** All rights reserved. This software was created at NASAs Goddard
  7. ** Space Flight Center pursuant to government contracts.
  8. **
  9. ** This is governed by the NASA Open Source Agreement and may be used,
  10. ** distributed and modified only pursuant to the terms of that agreement.
  11. **
  12. ** Author: Alan Cudmore Code 582
  13. **
  14. ** Purpose: Contains functions prototype definitions and variables declarations
  15. ** for the OS Abstraction Layer, Network Module
  16. **
  17. ** $Revision: 1.2 $
  18. **
  19. ** $Date: 2010/11/12 12:00:19GMT-05:00 $
  20. **
  21. ** $Log: osapi-os-net.h $
  22. ** Revision 1.2 2010/11/12 12:00:19GMT-05:00 acudmore
  23. ** replaced copyright character with (c) and added open source notice where needed.
  24. ** Revision 1.1 2008/04/20 22:36:02EDT ruperera
  25. ** Initial revision
  26. ** Member added to project c:/MKSDATA/MKS-REPOSITORY/MKS-OSAL-REPOSITORY/src/os/inc/project.pj
  27. ** Revision 1.1 2007/10/16 16:14:52EDT apcudmore
  28. ** Initial revision
  29. ** Member added to project d:/mksdata/MKS-OSAL-REPOSITORY/src/os/inc/project.pj
  30. ** Revision 1.1 2007/08/24 13:43:25EDT apcudmore
  31. ** Initial revision
  32. ** Member added to project d:/mksdata/MKS-CFE-PROJECT/fsw/cfe-core/os/inc/project.pj
  33. ** Revision 1.3 2006/01/20 11:56:18EST njyanchik
  34. ** Fixed header file information to match api document
  35. ** Revision 1.4 2005/06/07 16:49:31 nyanchik
  36. ** changed returns code for osapi.c to all int32 from uint32
  37. **
  38. ** Revision 1.3 2005/03/22 19:04:54 acudmore
  39. ** fixed uint type
  40. **
  41. ** Revision 1.2 2005/03/22 18:59:33 acudmore
  42. ** updated prototype
  43. **
  44. ** Revision 1.1 2005/03/22 18:58:51 acudmore
  45. ** added osapi network interface
  46. **
  47. ** Revision 1.1 2005/03/15 18:26:32 nyanchik
  48. ** *** empty log message ***
  49. **
  50. **
  51. ** Date Written:
  52. **
  53. **
  54. */
  55. #ifndef _osapi_network_
  56. #define _osapi_network_
  57. int32 OS_NetworkGetID (void);
  58. int32 OS_NetworkGetHostName (char *host_name, uint32 name_len);
  59. #endif