Sha256: b1f35752752089f36994db2bc9e505028d8848c412398ef8355a9d9bb5046e9a

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 KB

Contents

#include <Windows.h>

#include "entry.h"
#include "queue.h"

#ifndef WDM_MONITOR_H
#define WDM_MONITOR_H

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

// ---------------------------------------------------------
// Types
// ---------------------------------------------------------

typedef struct {
    BOOL running;
    WDM_PEntry head;
    WDM_PQueue changes;
    CRITICAL_SECTION lock;
    HANDLE monitoring_thread;
    HANDLE process_event;
    HANDLE stop_event;
} WDM_Monitor, *WDM_PMonitor;

typedef struct {
    WDM_PEntry entry;
    WDM_PMonitor monitor;
} WDM_MonitorCallbackParam, *WDM_PMonitorCallbackParam;

// ---------------------------------------------------------
// Prototypes
// ---------------------------------------------------------

WDM_PMonitor wdm_monitor_new();
void wdm_monitor_free(WDM_PMonitor);

void wdm_monitor_update_head(WDM_PMonitor, WDM_PEntry);

WDM_PMonitorCallbackParam wdm_monitor_callback_param_new(WDM_PMonitor, WDM_PEntry);
void wdm_monitor_callback_param_free(WDM_PMonitorCallbackParam);

// ---------------------------------------------------------

#ifdef __cplusplus
}
#endif // __cplusplus

#endif // WDM_MONITOR_H

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/wdm-0.1.0/ext/wdm/monitor.h
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/wdm-0.1.0/ext/wdm/monitor.h
wdm-0.1.0 ext/wdm/monitor.h
wdm-0.0.3 ext/wdm/monitor.h
wdm-0.0.2-x86-mingw32 ext/wdm/monitor.h
wdm-0.0.2-mingw32 ext/wdm/monitor.h
wdm-0.0.1 ext/wdm/monitor.h