geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

70 lines
3.8 KiB

  1. * Copyright (c) 2015 Patrick Monnerat, D+H <patrick.monnerat@dh.com>
  2. * All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms,
  5. * with or without modification, are permitted provided
  6. * that the following conditions are met:
  7. *
  8. * Redistributions of source code must retain the above
  9. * copyright notice, this list of conditions and the
  10. * following disclaimer.
  11. *
  12. * Redistributions in binary form must reproduce the above
  13. * copyright notice, this list of conditions and the following
  14. * disclaimer in the documentation and/or other materials
  15. * provided with the distribution.
  16. *
  17. * Neither the name of the copyright holder nor the names
  18. * of any other contributors may be used to endorse or
  19. * promote products derived from this software without
  20. * specific prior written permission.
  21. *
  22. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  23. * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  24. * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  25. * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  26. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  27. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  28. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  29. * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  30. * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  31. * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  32. * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  33. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  34. * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  35. * OF SUCH DAMAGE.
  36. /if not defined(LIBSSH2_CCSID_H_)
  37. /define LIBSSH2_CCSID_H_
  38. /include "libssh2rpg/libssh2"
  39. d libssh2_from_ccsid...
  40. d pr * extproc('libssh2_from_ccsid') char *
  41. d session * value LIBSSH2_SESSION *
  42. d cache * libssh2_string_cache
  43. d *(*)
  44. d ccsid value like(libssh2_Cushort)
  45. d string * value options(*string) const char *
  46. d inlen value like(libssh2_Cssize_t)
  47. d outlen like(libssh2_Csize_t) options(*omit)
  48. d libssh2_to_ccsid...
  49. d pr * extproc('libssh2_to_ccsid') char *
  50. d session * value LIBSSH2_SESSION *
  51. d cache * libssh2_string_cache
  52. d *(*)
  53. d ccsid value like(libssh2_Cushort)
  54. d string * value options(*string) const char *
  55. d inlen value like(libssh2_Cssize_t)
  56. d outlen like(libssh2_Csize_t) options(*omit)
  57. d libssh2_release_string_cache...
  58. d pr extproc(
  59. d 'libssh2_release_string_cache')
  60. d session * value LIBSSH2_SESSION *
  61. d cache * libssh2_string_cache
  62. d *(*)
  63. /endif LIBSSH2_CCSID_H_