<commit_before>#ifndef ecmdStructs_H
#define ecmdStructs_H
/* $Header$ */
// Copyright **********************************************************
//                                                                      
// File ecmdStructs.H                                               
//                                                                      
// IBM Confidential                                                     
// OCO Source Materials                                                 
// 9400 Licensed Internal Code                                          
// (C) COPYRIGHT IBM CORP. 2003                                         
//                                                                      
// The source code for this program is not published or otherwise       
// divested of its trade secrets, irrespective of what has been         
// deposited with the U.S. Copyright Office.                             
//                                                                      
// End Copyright ******************************************************
// Change Log *********************************************************
//                                                                      
//  Flag Reason   Date      Coder     Description                       
//  ---- -------- --------  --------  -------------------------------   
//  @01x CQ32245  11/08/05  prahl     Clean up Beam errors
//       FW038339 03/30/06  scottw    Change i_len parms to pass by value
//  @02  FW038451 03/30/06  scottw    Add std methods to ecmdI2CCmdEntry

//  @03                05/08/07 hjh       add of the continue on error option -coe
//  @04  U6037    07/07/09  jaschnei  Oscillator Interface Changes
/**
  @file ecmdStructs.H
  @brief All the Structures required for the eCMD Capi
*/

//--------------------------------------------------------------------
// Includes
//--------------------------------------------------------------------
#include <inttypes.h>
#include <list>  /* For STL list */
#include <vector>
#include <string>

#include <ecmdDefines.H>
#include <ecmdDataBuffer.H>

//--------------------------------------------------------------------
//  Forward References                                                
//--------------------------------------------------------------------

//--------------------------------------------------------------------
//  Defines                                                
//--------------------------------------------------------------------


#define ECMD_CAPI_VERSION "11.2"          ///< eCMD API Version

// Magic headers for packing/unpacking the ecmdQueryData structure heirarchy.
#define QD_HDR_MAGIC     0xFFFFFFF1
#define CAGE_HDR_MAGIC   0xFFFFFF2F
#define NODE_HDR_MAGIC   0xFFFFF3FF
#define SLOT_HDR_MAGIC   0xFFFF4FFF
#define CHIP_HDR_MAGIC   0xFFF5FFFF
#define CORE_HDR_MAGIC   0xFF6FFFFF
#define THREAD_HDR_MAGIC 0xF7FFFFFF
#define CHIPUNIT_HDR_MAGIC 0x8FFFFFFF
/**
 Predefined common chip names for ecmdChipData.chipCommonType<commit_msg>Bumped up version to 11.3<commit_after>#ifndef ecmdStructs_H
#define ecmdStructs_H
/* $Header$ */
// Copyright **********************************************************
//                                                                      
// File ecmdStructs.H                                               
//                                                                      
// IBM Confidential                                                     
// OCO Source Materials                                                 
// 9400 Licensed Internal Code                                          
// (C) COPYRIGHT IBM CORP. 2003                                         
//                                                                      
// The source code for this program is not published or otherwise       
// divested of its trade secrets, irrespective of what has been         
// deposited with the U.S. Copyright Office.                             
//                                                                      
// End Copyright ******************************************************
// Change Log *********************************************************
//                                                                      
//  Flag Reason   Date      Coder     Description                       
//  ---- -------- --------  --------  -------------------------------   
//  @01x CQ32245  11/08/05  prahl     Clean up Beam errors
//       FW038339 03/30/06  scottw    Change i_len parms to pass by value
//  @02  FW038451 03/30/06  scottw    Add std methods to ecmdI2CCmdEntry

//  @03                05/08/07 hjh       add of the continue on error option -coe
//  @04  U6037    07/07/09  jaschnei  Oscillator Interface Changes
/**
  @file ecmdStructs.H
  @brief All the Structures required for the eCMD Capi
*/

//--------------------------------------------------------------------
// Includes
//--------------------------------------------------------------------
#include <inttypes.h>
#include <list>  /* For STL list */
#include <vector>
#include <string>

#include <ecmdDefines.H>
#include <ecmdDataBuffer.H>

//--------------------------------------------------------------------
//  Forward References                                                
//--------------------------------------------------------------------

//--------------------------------------------------------------------
//  Defines                                                
//--------------------------------------------------------------------


#define ECMD_CAPI_VERSION "11.3"          ///< eCMD API Version

// Magic headers for packing/unpacking the ecmdQueryData structure heirarchy.
#define QD_HDR_MAGIC     0xFFFFFFF1
#define CAGE_HDR_MAGIC   0xFFFFFF2F
#define NODE_HDR_MAGIC   0xFFFFF3FF
#define SLOT_HDR_MAGIC   0xFFFF4FFF
#define CHIP_HDR_MAGIC   0xFFF5FFFF
#define CORE_HDR_MAGIC   0xFF6FFFFF
#define THREAD_HDR_MAGIC 0xF7FFFFFF
#define CHIPUNIT_HDR_MAGIC 0x8FFFFFFF
/**
 Predefined common chip names for ecmdChipData.chipCommonType
{'fraction_non_alphanumeric': 0.2585756288794512, 'fraction_numerical': 0.028912120222149625, 'mean_word_length': 0.8554545454545455, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 48, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5172050', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1269, 'n_words': 357}