MilterEventLoop
3
milter managerライブラリ

# MilterEventLoop

## Functions

void | (*MilterEventLoopCustomRunFunc) ()
gboolean | (*MilterEventLoopCustomIterateFunc) ()
GQuark | milter_event_loop_error_quark ()
void | milter_event_loop_run ()
gboolean | milter_event_loop_is_running ()
void | milter_event_loop_run_without_custom ()
void | milter_event_loop_set_custom_run_func ()
MilterEventLoopCustomRunFunc | milter_event_loop_get_custom_run_func ()
gboolean | milter_event_loop_iterate ()
gboolean | milter_event_loop_iterate_without_custom ()
void | milter_event_loop_set_custom_iterate_func ()
MilterEventLoopCustomIterateFunc | milter_event_loop_get_custom_iterate_func ()
void | milter_event_loop_quit ()
guint | milter_event_loop_watch_io ()
guint | milter_event_loop_watch_io_full ()
guint | milter_event_loop_watch_child ()
guint | milter_event_loop_watch_child_full ()
guint | milter_event_loop_add_timeout ()
guint | milter_event_loop_add_timeout_full ()
guint | milter_event_loop_add_idle ()
guint | milter_event_loop_add_idle_full ()
gboolean | milter_event_loop_remove ()

## プロパティ

gpointer | custom-run | Read / Write

## Types and Values

#define | MILTER_EVENT_LOOP_ERROR
enum | MilterEventLoopError

## オブジェクト階層

        GEnum
        ╰── MilterEventLoopError
        GObject
        ╰── MilterEventLoop
            ├── MilterGLibEventLoop
            ╰── MilterLibevEventLoop

## 説明

## Functions

### MilterEventLoopCustomRunFunc ()

    void
    (*MilterEventLoopCustomRunFunc) (MilterEventLoop *loop);

### MilterEventLoopCustomIterateFunc ()

    gboolean
    (*MilterEventLoopCustomIterateFunc) (MilterEventLoop *loop,
                                         gboolean may_block,
                                         gpointer user_data);

### milter_event_loop_error_quark ()

    GQuark
    milter_event_loop_error_quark (void);

### milter_event_loop_run ()

    void
    milter_event_loop_run (MilterEventLoop *loop);

### milter_event_loop_is_running ()

    gboolean
    milter_event_loop_is_running (MilterEventLoop *loop);

### milter_event_loop_run_without_custom ()

    void
    milter_event_loop_run_without_custom (MilterEventLoop *loop);

### milter_event_loop_set_custom_run_func ()

    void
    milter_event_loop_set_custom_run_func (MilterEventLoop *loop,
                                           MilterEventLoopCustomRunFunc custom_run);

### milter_event_loop_get_custom_run_func ()

    MilterEventLoopCustomRunFunc
    milter_event_loop_get_custom_run_func (MilterEventLoop *loop);

### milter_event_loop_iterate ()

    gboolean
    milter_event_loop_iterate (MilterEventLoop *loop,
                               gboolean may_block);

### milter_event_loop_iterate_without_custom ()

    gboolean
    milter_event_loop_iterate_without_custom
                                   (MilterEventLoop *loop,
                                    gboolean may_block);

### milter_event_loop_set_custom_iterate_func ()

    void
    milter_event_loop_set_custom_iterate_func
                                   (MilterEventLoop *loop,
                                    MilterEventLoopCustomIterateFunc custom_iterate,
                                    gpointer user_data,
                                    GDestroyNotify destroy);

### milter_event_loop_get_custom_iterate_func ()

    MilterEventLoopCustomIterateFunc
    milter_event_loop_get_custom_iterate_func
                                   (MilterEventLoop *loop);

### milter_event_loop_quit ()

    void
    milter_event_loop_quit (MilterEventLoop *loop);

### milter_event_loop_watch_io ()

    guint
    milter_event_loop_watch_io (MilterEventLoop *loop,
                                GIOChannel *channel,
                                GIOCondition condition,
                                GIOFunc function,
                                gpointer data);

### milter_event_loop_watch_io_full ()

    guint
    milter_event_loop_watch_io_full (MilterEventLoop *loop,
                                     gint priority,
                                     GIOChannel *channel,
                                     GIOCondition condition,
                                     GIOFunc function,
                                     gpointer data,
                                     GDestroyNotify notify);

### milter_event_loop_watch_child ()

    guint
    milter_event_loop_watch_child (MilterEventLoop *loop,
                                   GPid pid,
                                   GChildWatchFunc function,
                                   gpointer data);

### milter_event_loop_watch_child_full ()

    guint
    milter_event_loop_watch_child_full (MilterEventLoop *loop,
                                        gint priority,
                                        GPid pid,
                                        GChildWatchFunc function,
                                        gpointer data,
                                        GDestroyNotify notify);

### milter_event_loop_add_timeout ()

    guint
    milter_event_loop_add_timeout (MilterEventLoop *loop,
                                   gdouble interval_in_seconds,
                                   GSourceFunc function,
                                   gpointer data);

### milter_event_loop_add_timeout_full ()

    guint
    milter_event_loop_add_timeout_full (MilterEventLoop *loop,
                                        gint priority,
                                        gdouble interval_in_seconds,
                                        GSourceFunc function,
                                        gpointer data,
                                        GDestroyNotify notify);

### milter_event_loop_add_idle ()

    guint
    milter_event_loop_add_idle (MilterEventLoop *loop,
                                GSourceFunc function,
                                gpointer data);

### milter_event_loop_add_idle_full ()

    guint
    milter_event_loop_add_idle_full (MilterEventLoop *loop,
                                     gint priority,
                                     GSourceFunc function,
                                     gpointer data,
                                     GDestroyNotify notify);

### milter_event_loop_remove ()

    gboolean
    milter_event_loop_remove (MilterEventLoop *loop,
                              guint id);

## Types and Values

### MILTER_EVENT_LOOP_ERROR

    #define MILTER_EVENT_LOOP_ERROR           (milter_event_loop_error_quark())

### enum MilterEventLoopError

#### Members

MILTER_EVENT_LOOP_ERROR_MAX |  |

## プロパティ詳細

### The `“custom-run”` property

      “custom-run”               gpointer

The custom run.

Flags: Read / Write