Windows NT 4.0 source code leak
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.

80 lines
3.6 KiB

5 years ago
  1. /****************************************************************************/
  2. /****************************************************************************/
  3. /* */
  4. /* THE UTILITIES MODULE */
  5. /* ==================== */
  6. /* */
  7. /* UTIL.H : Part of the FASTMAC TOOL-KIT (FTK) */
  8. /* */
  9. /* Copyright (c) Madge Networks Ltd. 1991-1994 */
  10. /* Developed by MF */
  11. /* CONFIDENTIAL */
  12. /* */
  13. /* */
  14. /****************************************************************************/
  15. /* */
  16. /* The UTIL.C utilities module provides a range of general purpose */
  17. /* utilities that are used throughout the FTK. These routines provide such */
  18. /* functions as the ability to copy strings, clear memory, byte swap node */
  19. /* addresses and caculate the minimum of three values. */
  20. /* */
  21. /* The UTIL.H file contains the exported function definitions for the */
  22. /* UTIL.C module. */
  23. /* */
  24. /****************************************************************************/
  25. /****************************************************************************/
  26. /* */
  27. /* VERSION_NUMBER of FTK to which this UTIL.H belongs : */
  28. /* */
  29. #define FTK_VERSION_NUMBER_UTIL_H 221
  30. /****************************************************************************/
  31. extern void util_string_copy(
  32. char * copy_to_string,
  33. char * copy_from_string
  34. );
  35. extern void util_mem_copy(
  36. BYTE * copy_to_string,
  37. BYTE * copy_from_string,
  38. UINT count
  39. );
  40. extern void util_string_concatenate(
  41. char * add_to_string,
  42. char * string_to_add
  43. );
  44. extern UINT util_minimum(
  45. UINT val_1,
  46. UINT val_2,
  47. UINT val_3
  48. );
  49. extern void util_zero_memory(
  50. BYTE * memory,
  51. UINT size_in_bytes
  52. );
  53. extern void util_byte_swap_structure(
  54. BYTE * byte_based_structure,
  55. UINT size_of_structure
  56. );
  57. /* */
  58. /* */
  59. /************** End of UTIL.H file ******************************************/
  60. /* */
  61. /* */