milter-utils 3 milter managerライブラリ
milter-utils

## Functions

#define | MILTER_IMPLEMENT_ERROR_EMITTABLE()
#define | MILTER_DEFINE_ERROR_EMITTABLE_TYPE()
#define | MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE()
#define | MILTER_IMPLEMENT_FINISHED_EMITTABLE()
#define | MILTER_DEFINE_FINISHED_EMITTABLE_TYPE()
#define | MILTER_IMPLEMENT_REPLY_SIGNALS()
gchar * | milter_utils_inspect_io_condition_error ()
gchar * | milter_utils_inspect_enum ()
gchar * | milter_utils_get_enum_name ()
gchar * | milter_utils_get_enum_nick_name ()
gchar * | milter_utils_inspect_flags ()
gchar * | milter_utils_get_flags_names ()
gchar * | milter_utils_inspect_object ()
gchar * | milter_utils_format_reply_code ()
gchar * | milter_utils_inspect_hash_string_string ()
void | milter_utils_merge_hash_string_string ()
gchar * | milter_utils_inspect_list_pointer ()
MilterMacroStage | milter_utils_command_to_macro_stage ()
MilterCommand | milter_utils_macro_stage_to_command ()
void | milter_utils_set_error_with_sub_error ()
guint | milter_utils_flags_from_string ()
gint | milter_utils_enum_from_string ()
void | milter_utils_append_indent ()
void | milter_utils_xml_append_text_element ()
void | milter_utils_xml_append_boolean_element ()
gint | milter_utils_strcmp0 ()

## 説明

## Functions

### MILTER_IMPLEMENT_ERROR_EMITTABLE()

    #define             MILTER_IMPLEMENT_ERROR_EMITTABLE(init)

MILTER_IMPLEMENT_ERROR_EMITTABLE

### MILTER_DEFINE_ERROR_EMITTABLE_TYPE()

    #define             MILTER_DEFINE_ERROR_EMITTABLE_TYPE(TypeName, type_name, TYPE_PARENT)

MILTER_DEFINE_ERROR_EMITTABLE_TYPE

### MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE()

    #define             MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE(init, code)

MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE

### MILTER_IMPLEMENT_FINISHED_EMITTABLE()

    #define             MILTER_IMPLEMENT_FINISHED_EMITTABLE(init)

MILTER_IMPLEMENT_FINISHED_EMITTABLE

### MILTER_DEFINE_FINISHED_EMITTABLE_TYPE()

    #define             MILTER_DEFINE_FINISHED_EMITTABLE_TYPE(TypeName,                     \
                                                              type_name,                    \
                                                              TYPE_PARENT)

MILTER_DEFINE_FINISHED_EMITTABLE_TYPE

### MILTER_IMPLEMENT_REPLY_SIGNALS()

    #define             MILTER_IMPLEMENT_REPLY_SIGNALS(init)

MILTER_IMPLEMENT_REPLY_SIGNALS

### milter_utils_inspect_io_condition_error ()

    gchar *
    milter_utils_inspect_io_condition_error
                                   (GIOCondition condition);

#### Returns

milter_utils_inspect_io_condition_error

### milter_utils_inspect_enum ()

    gchar *
    milter_utils_inspect_enum (GType enum_type,
                               gint enum_value);

#### Returns

milter_utils_inspect_enum

### milter_utils_get_enum_name ()

    gchar *
    milter_utils_get_enum_name (GType enum_type,
                                gint enum_value);

#### Returns

milter_utils_get_enum_name

### milter_utils_get_enum_nick_name ()

    gchar *
    milter_utils_get_enum_nick_name (GType enum_type,
                                     gint enum_value);

#### Returns

milter_utils_get_enum_nick_name

### milter_utils_inspect_flags ()

    gchar *
    milter_utils_inspect_flags (GType flags_type,
                                guint flags);

#### Returns

milter_utils_inspect_flags

### milter_utils_get_flags_names ()

    gchar *
    milter_utils_get_flags_names (GType flags_type,
                                  guint flags);

#### Returns

milter_utils_get_flags_names

### milter_utils_inspect_object ()

    gchar *
    milter_utils_inspect_object (GObject *object);

#### Returns

milter_utils_inspect_object

### milter_utils_format_reply_code ()

    gchar *
    milter_utils_format_reply_code (guint reply_code,
                                    const gchar *extended_code,
                                    const gchar *message);

#### Returns

milter_utils_format_reply_code

### milter_utils_inspect_hash_string_string ()

    gchar *
    milter_utils_inspect_hash_string_string
                                   (GHashTable *hash);

#### Returns

milter_utils_inspect_hash_string_string

### milter_utils_merge_hash_string_string ()

    void
    milter_utils_merge_hash_string_string (GHashTable *dest,
                                           GHashTable *src);

milter_utils_merge_hash_string_string

### milter_utils_inspect_list_pointer ()

    gchar *
    milter_utils_inspect_list_pointer (const GList *list);

#### Returns

milter_utils_inspect_list_pointer

### milter_utils_command_to_macro_stage ()

    MilterMacroStage
    milter_utils_command_to_macro_stage (MilterCommand command);

#### Returns

milter_utils_command_to_macro_stage

### milter_utils_macro_stage_to_command ()

    MilterCommand
    milter_utils_macro_stage_to_command (MilterMacroStage stage);

#### Returns

milter_utils_macro_stage_to_command

### milter_utils_set_error_with_sub_error ()

    void
    milter_utils_set_error_with_sub_error (GError **error,
                                           GQuark domain,
                                           gint error_code,
                                           GError *sub_error,
                                           const gchar *format,
                                           ...);

milter_utils_set_error_with_sub_error

### milter_utils_flags_from_string ()

    guint
    milter_utils_flags_from_string (GType flags_type,
                                    const gchar *flags_string,
                                    guint base_flags,
                                    GError **error);

#### Returns

milter_utils_flags_from_string

### milter_utils_enum_from_string ()

    gint
    milter_utils_enum_from_string (GType enum_type,
                                   const gchar *enum_string,
                                   GError **error);

#### Returns

milter_utils_enum_from_string

### milter_utils_append_indent ()

    void
    milter_utils_append_indent (GString *string,
                                guint size);

milter_utils_append_indent

### milter_utils_xml_append_text_element ()

    void
    milter_utils_xml_append_text_element (GString *string,
                                          const gchar *name,
                                          const gchar *content,
                                          guint indent);

milter_utils_xml_append_text_element

### milter_utils_xml_append_boolean_element ()

    void
    milter_utils_xml_append_boolean_element
                                   (GString *string,
                                    const gchar *name,
                                    gboolean boolean,
                                    guint indent);

milter_utils_xml_append_boolean_element

### milter_utils_strcmp0 ()

    gint
    milter_utils_strcmp0 (const gchar *str1,
                          const gchar *str2);

#### Returns

milter_utils_strcmp0

## Types and Values