<commit_before>#ifdef E_TYPEDEFS

/* enum for various event types */
typedef enum _E_Acpi_Type 
{
   E_ACPI_TYPE_UNKNOWN = 0,
      
   E_ACPI_TYPE_AC_ADAPTER, //
   E_ACPI_TYPE_BATTERY,
   E_ACPI_TYPE_BUTTON,
   E_ACPI_TYPE_FAN,
   E_ACPI_TYPE_LID,
   E_ACPI_TYPE_POWER,
   E_ACPI_TYPE_PROCESSOR,
   E_ACPI_TYPE_SLEEP,
   E_ACPI_TYPE_THERMAL,
   E_ACPI_TYPE_VIDEO,
   E_ACPI_TYPE_WIFI,
   E_ACPI_TYPE_HIBERNATE,
   E_ACPI_TYPE_ZOOM_OUT,
   E_ACPI_TYPE_ZOOM_IN,
   E_ACPI_TYPE_BRIGHTNESS_DOWN,
   E_ACPI_TYPE_BRIGHTNESS_UP,
   E_ACPI_TYPE_ASSIST,
   E_ACPI_TYPE_S1,
   E_ACPI_TYPE_VAIO,
   E_ACPI_TYPE_MUTE,
   E_ACPI_TYPE_VOLUME,
   E_ACPI_TYPE_BRIGHTNESS
} E_Acpi_Type;

/* enum for acpi signals */
typedef enum _E_Acpi_Device_Signal 
{
   E_ACPI_DEVICE_SIGNAL_UNKNOWN,
   E_ACPI_DEVICE_SIGNAL_NOTIFY = 80,
   E_ACPI_DEVICE_SIGNAL_CHANGED = 82, // device added or removed
   E_ACPI_DEVICE_SIGNAL_AWAKE = 83,
   E_ACPI_DEVICE_SIGNAL_EJECT = 84
} E_Acpi_Device_Signal;

/* enum for lid status */
typedef enum _E_Acpi_Lid_Status 
{
   E_ACPI_LID_UNKNOWN,
   E_ACPI_LID_CLOSED,
   E_ACPI_LID_OPEN
} E_Acpi_Lid_Status;

/* struct used to pass to event handlers */
typedef struct _E_Event_Acpi E_Event_Acpi;

#else
# ifndef E_ACPI_H
#  define E_ACPI_H

struct _E_Event_Acpi 
{
   const char *device, *bus_id;
   int         type, signal, status;
};

EINTERN int e_acpi_init(void);
EINTERN int e_acpi_shutdown(void);

EAPI void e_acpi_events_freeze(void);
EAPI void e_acpi_events_thaw(void);

extern EAPI int E_EVENT_ACPI;

# endif
#endif
<commit_msg>make some notes in header for when iw as fixing up default bindings<commit_after>#ifdef E_TYPEDEFS

/* enum for various event types */
typedef enum _E_Acpi_Type 
{
   E_ACPI_TYPE_UNKNOWN = 0,
      
   E_ACPI_TYPE_AC_ADAPTER, // 1
   E_ACPI_TYPE_BATTERY, // 2
   E_ACPI_TYPE_BUTTON, // 3
   E_ACPI_TYPE_FAN, // 4
   E_ACPI_TYPE_LID, // 5
   E_ACPI_TYPE_POWER, // 6
   E_ACPI_TYPE_PROCESSOR, // 7
   E_ACPI_TYPE_SLEEP, // 8
   E_ACPI_TYPE_THERMAL, // 9
   E_ACPI_TYPE_VIDEO, // 10
   E_ACPI_TYPE_WIFI, // 11
   E_ACPI_TYPE_HIBERNATE, // 12
   E_ACPI_TYPE_ZOOM_OUT, // 13
   E_ACPI_TYPE_ZOOM_IN, // 14
   E_ACPI_TYPE_BRIGHTNESS_DOWN, // 15
   E_ACPI_TYPE_BRIGHTNESS_UP, // 16
   E_ACPI_TYPE_ASSIST, // 17
   E_ACPI_TYPE_S1, // 18
   E_ACPI_TYPE_VAIO, // 19
   E_ACPI_TYPE_MUTE, // 20
   E_ACPI_TYPE_VOLUME, // 21
   E_ACPI_TYPE_BRIGHTNESS // 22
} E_Acpi_Type;

/* enum for acpi signals */
typedef enum _E_Acpi_Device_Signal 
{
   E_ACPI_DEVICE_SIGNAL_UNKNOWN, // 0
   E_ACPI_DEVICE_SIGNAL_NOTIFY = 80,
   E_ACPI_DEVICE_SIGNAL_CHANGED = 82, // device added or removed
   E_ACPI_DEVICE_SIGNAL_AWAKE = 83,
   E_ACPI_DEVICE_SIGNAL_EJECT = 84
} E_Acpi_Device_Signal;

/* enum for lid status */
typedef enum _E_Acpi_Lid_Status 
{
   E_ACPI_LID_UNKNOWN, // 0
   E_ACPI_LID_CLOSED, // 1
   E_ACPI_LID_OPEN // 2
} E_Acpi_Lid_Status;

/* struct used to pass to event handlers */
typedef struct _E_Event_Acpi E_Event_Acpi;

#else
# ifndef E_ACPI_H
#  define E_ACPI_H

struct _E_Event_Acpi 
{
   const char *device, *bus_id;
   int         type, signal, status;
};

EINTERN int e_acpi_init(void);
EINTERN int e_acpi_shutdown(void);

EAPI void e_acpi_events_freeze(void);
EAPI void e_acpi_events_thaw(void);

extern EAPI int E_EVENT_ACPI;

# endif
#endif

{'fraction_non_alphanumeric': 0.07303712720632989, 'fraction_numerical': 0.017954960438222763, 'mean_word_length': 3.9059701492537315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2047559', 'n_tokens_mistral': 1571, 'n_tokens_neox': 1508, 'n_words': 260}