home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / src / proto / endecode-funcs.c next >
C/C++ Source or Header  |  2008-11-19  |  1KB  |  75 lines

  1. /*
  2.  * (C) 2007 The University of Chicago.
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */
  6. #include <stdlib.h>
  7. #include <errno.h>
  8. #include <string.h>
  9. #include <assert.h>
  10.  
  11. #define __PINT_REQPROTO_ENCODE_FUNCS_C  /* trigger actual definitions */
  12. #include "endecode-funcs.h"
  13. #include <stdint.h>
  14. #include "pvfs2-encode-stubs.h"
  15.  
  16. void encode_func_uint64_t(char **pptr, void *x) 
  17. {
  18.     encode_uint64_t(pptr, (uint64_t *)x);
  19. }
  20.  
  21. void decode_func_uint64_t(char **pptr, void *x)
  22. {
  23.     decode_uint64_t(pptr, (uint64_t *)x);
  24. }
  25.  
  26. void encode_func_int64_t(char **pptr, void *x)
  27. {
  28.     encode_int64_t(pptr, (int64_t *)x);
  29. }
  30.  
  31. void decode_func_int64_t(char **pptr, void *x)
  32. {
  33.     decode_int64_t(pptr, (int64_t *)x);
  34. }
  35.  
  36. void encode_func_uint32_t(char **pptr, void *x)
  37. {
  38.     encode_uint32_t(pptr, (uint32_t *)x);
  39. }
  40.  
  41. void decode_func_uint32_t(char **pptr, void *x)
  42. {
  43.     decode_uint32_t(pptr, (uint32_t *)x);
  44. }
  45.  
  46. void encode_func_int32_t(char **pptr, void *x)
  47. {
  48.     encode_int32_t(pptr, (int32_t *)x);
  49. }
  50.  
  51. void decode_func_int32_t(char **pptr, void *x)
  52. {
  53.     decode_int32_t(pptr, (int32_t *)x);
  54. }
  55.  
  56. void encode_func_string(char **pptr, void *x)
  57. {
  58.     encode_string(pptr, (char **)x);
  59. }
  60.  
  61. void decode_func_string(char **pptr, void *x)
  62. {
  63.     decode_string(pptr, (char **)x);
  64. }
  65.  
  66. /*
  67.  * Local variables:
  68.  *  mode: c
  69.  *  c-indent-level: 4
  70.  *  c-basic-offset: 4
  71.  * End:
  72.  *
  73.  * vim: ft=c ts=8 sts=4 sw=4 expandtab
  74.  */
  75.