summaryrefslogtreecommitdiff
path: root/common_modules/module_lib/src/txm_byte_pool_info_get.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2022-01-29 00:24:03 +0000
committerYuxin Zhou <[email protected]>2022-01-29 00:24:03 +0000
commitf7f0957188d48ec5278107dc8fbd2de747fda1b8 (patch)
treefee9f4baf5a6a8bb944c5de8ad10fda300027d26 /common_modules/module_lib/src/txm_byte_pool_info_get.c
parentb216ceb25e2b6ae1ea83c1ae91d114a6fc2fc4ec (diff)
Release 6.1.10
Diffstat (limited to 'common_modules/module_lib/src/txm_byte_pool_info_get.c')
-rw-r--r--common_modules/module_lib/src/txm_byte_pool_info_get.c82
1 files changed, 43 insertions, 39 deletions
diff --git a/common_modules/module_lib/src/txm_byte_pool_info_get.c b/common_modules/module_lib/src/txm_byte_pool_info_get.c
index 29d246c7..240fb6b1 100644
--- a/common_modules/module_lib/src/txm_byte_pool_info_get.c
+++ b/common_modules/module_lib/src/txm_byte_pool_info_get.c
@@ -22,52 +22,55 @@
#define TXM_MODULE
#include "txm_module.h"
-
-/**************************************************************************/
-/* */
-/* FUNCTION RELEASE */
-/* */
-/* _txe_byte_pool_info_get PORTABLE C */
-/* 6.1 */
+#ifndef TXM_BYTE_POOL_INFO_GET_CALL_NOT_USED
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _txe_byte_pool_info_get PORTABLE C */
+/* 6.1.10 */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* */
-/* DESCRIPTION */
-/* */
-/* This function checks for errors in the byte pool information get */
-/* service. */
-/* */
-/* INPUT */
-/* */
-/* pool_ptr Pointer to byte pool control block*/
-/* name Destination for the pool name */
-/* available_bytes Number of free bytes in byte pool */
-/* fragments Number of fragments in byte pool */
-/* first_suspended Destination for pointer of first */
-/* thread suspended on byte pool */
-/* suspended_count Destination for suspended count */
-/* next_pool Destination for pointer to next */
-/* byte pool on the created list */
-/* */
-/* OUTPUT */
-/* */
-/* TX_POOL_ERROR Invalid byte pool pointer */
-/* status Completion status */
-/* */
-/* CALLS */
-/* */
+/* DESCRIPTION */
+/* */
+/* This function checks for errors in the byte pool information get */
+/* service. */
+/* */
+/* INPUT */
+/* */
+/* pool_ptr Pointer to byte pool control block*/
+/* name Destination for the pool name */
+/* available_bytes Number of free bytes in byte pool */
+/* fragments Number of fragments in byte pool */
+/* first_suspended Destination for pointer of first */
+/* thread suspended on byte pool */
+/* suspended_count Destination for suspended count */
+/* next_pool Destination for pointer to next */
+/* byte pool on the created list */
+/* */
+/* OUTPUT */
+/* */
+/* TX_POOL_ERROR Invalid byte pool pointer */
+/* status Completion status */
+/* */
+/* CALLS */
+/* */
/* _txm_module_kernel_call_dispatcher */
-/* */
-/* CALLED BY */
-/* */
-/* Module application code */
-/* */
-/* RELEASE HISTORY */
-/* */
+/* */
+/* CALLED BY */
+/* */
+/* Module application code */
+/* */
+/* RELEASE HISTORY */
+/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 09-30-2020 Scott Larson Initial Version 6.1 */
+/* 09-30-2020 Scott Larson Initial Version 6.1 */
+/* 01-31-2022 Scott Larson Modified comments and added */
+/* CALL_NOT_USED option, */
+/* resulting in version 6.1.10 */
/* */
/**************************************************************************/
UINT _txe_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, ULONG *fragments, TX_THREAD **first_suspended, ULONG *suspended_count, TX_BYTE_POOL **next_pool)
@@ -88,3 +91,4 @@ ALIGN_TYPE extra_parameters[5];
/* Return value to the caller. */
return(return_value);
}
+#endif