MilterManagerConfiguration 3 MILTER-MANAGER Library
MilterManagerConfiguration

## Functions

GQuark | milter_manager_configuration_error_quark ()
MilterManagerConfiguration * | milter_manager_configuration_instantiate ()
MilterManagerConfiguration * | milter_manager_configuration_new ()
void | milter_manager_configuration_append_load_path ()
void | milter_manager_configuration_prepend_load_path ()
void | milter_manager_configuration_clear_load_paths ()
const GList * | milter_manager_configuration_get_load_paths ()
gboolean | milter_manager_configuration_load ()
gboolean | milter_manager_configuration_load_if_exist ()
gboolean | milter_manager_configuration_load_custom ()
gboolean | milter_manager_configuration_load_custom_if_exist ()
gboolean | milter_manager_configuration_reload ()
gboolean | milter_manager_configuration_save_custom ()
gboolean | milter_manager_configuration_is_privilege_mode ()
void | milter_manager_configuration_set_privilege_mode ()
const gchar * | milter_manager_configuration_get_controller_connection_spec ()
void | milter_manager_configuration_set_controller_connection_spec ()
const gchar * | milter_manager_configuration_get_manager_connection_spec ()
void | milter_manager_configuration_set_manager_connection_spec ()
const gchar * | milter_manager_configuration_get_effective_user ()
void | milter_manager_configuration_set_effective_user ()
const gchar * | milter_manager_configuration_get_effective_group ()
void | milter_manager_configuration_set_effective_group ()
guint | milter_manager_configuration_get_manager_unix_socket_mode ()
void | milter_manager_configuration_set_manager_unix_socket_mode ()
guint | milter_manager_configuration_get_controller_unix_socket_mode ()
void | milter_manager_configuration_set_controller_unix_socket_mode ()
const gchar * | milter_manager_configuration_get_manager_unix_socket_group ()
void | milter_manager_configuration_set_manager_unix_socket_group ()
const gchar * | milter_manager_configuration_get_controller_unix_socket_group ()
void | milter_manager_configuration_set_controller_unix_socket_group ()
gboolean | milter_manager_configuration_is_remove_manager_unix_socket_on_close ()
void | milter_manager_configuration_set_remove_manager_unix_socket_on_close ()
gboolean | milter_manager_configuration_is_remove_controller_unix_socket_on_close ()
void | milter_manager_configuration_set_remove_controller_unix_socket_on_close ()
gboolean | milter_manager_configuration_is_remove_manager_unix_socket_on_create ()
void | milter_manager_configuration_set_remove_manager_unix_socket_on_create ()
gboolean | milter_manager_configuration_is_remove_controller_unix_socket_on_create ()
void | milter_manager_configuration_set_remove_controller_unix_socket_on_create ()
gboolean | milter_manager_configuration_is_daemon ()
void | milter_manager_configuration_set_daemon ()
const gchar * | milter_manager_configuration_get_pid_file ()
void | milter_manager_configuration_set_pid_file ()
MilterStatus | milter_manager_configuration_get_fallback_status ()
void | milter_manager_configuration_set_fallback_status ()
MilterStatus | milter_manager_configuration_get_fallback_status_at_disconnect ()
void | milter_manager_configuration_set_fallback_status_at_disconnect ()
const gchar * | milter_manager_configuration_get_package_platform ()
void | milter_manager_configuration_set_package_platform ()
const gchar * | milter_manager_configuration_get_package_options ()
void | milter_manager_configuration_set_package_options ()
guint | milter_manager_configuration_get_maintenance_interval ()
void | milter_manager_configuration_set_maintenance_interval ()
void | milter_manager_configuration_maintain ()
void | milter_manager_configuration_event_loop_created ()
guint | milter_manager_configuration_get_suspend_time_on_unacceptable ()
void | milter_manager_configuration_set_suspend_time_on_unacceptable ()
guint | milter_manager_configuration_get_max_connections ()
void | milter_manager_configuration_set_max_connections ()
guint | milter_manager_configuration_get_max_file_descriptors ()
void | milter_manager_configuration_set_max_file_descriptors ()
const gchar * | milter_manager_configuration_get_custom_configuration_directory ()
void | milter_manager_configuration_set_custom_configuration_directory ()
void | milter_manager_configuration_clear_signal_handlers ()
void | milter_manager_configuration_add_egg ()
MilterManagerEgg * | milter_manager_configuration_find_egg ()
const GList * | milter_manager_configuration_get_eggs ()
void | milter_manager_configuration_remove_egg ()
void | milter_manager_configuration_remove_egg_by_name ()
void | milter_manager_configuration_clear_eggs ()
void | milter_manager_configuration_setup_children ()
void | milter_manager_configuration_add_applicable_condition ()
MilterManagerApplicableCondition * | milter_manager_configuration_find_applicable_condition ()
const GList * | milter_manager_configuration_get_applicable_conditions ()
void | milter_manager_configuration_remove_applicable_condition ()
void | milter_manager_configuration_remove_applicable_condition_by_name ()
void | milter_manager_configuration_clear_applicable_conditions ()
gboolean | milter_manager_configuration_clear ()
GPid | milter_manager_configuration_fork ()
void | milter_manager_configuration_session_finished ()
void | milter_manager_configuration_n_sessions_finished ()
gchar * | milter_manager_configuration_to_xml ()
void | milter_manager_configuration_to_xml_string ()
gchar * | milter_manager_configuration_dump ()
void | milter_manager_configuration_set_location ()
void | milter_manager_configuration_reset_location ()
gconstpointer | milter_manager_configuration_get_location ()
GHashTable * | milter_manager_configuration_get_locations ()
guint | milter_manager_configuration_get_connection_check_interval ()
void | milter_manager_configuration_set_connection_check_interval ()
MilterClientEventLoopBackend | milter_manager_configuration_get_event_loop_backend ()
void | milter_manager_configuration_set_event_loop_backend ()
guint | milter_manager_configuration_get_n_workers ()
void | milter_manager_configuration_set_n_workers ()
guint | milter_manager_configuration_get_default_packet_buffer_size ()
void | milter_manager_configuration_set_default_packet_buffer_size ()
const gchar * | milter_manager_configuration_get_prefix ()
gboolean | milter_manager_configuration_get_use_syslog ()
void | milter_manager_configuration_set_use_syslog ()
const gchar * | milter_manager_configuration_get_syslog_facility ()
void | milter_manager_configuration_set_syslog_facility ()
guint | milter_manager_configuration_get_chunk_size ()
void | milter_manager_configuration_set_chunk_size ()
guint | milter_manager_configuration_get_max_pending_finished_sessions ()
void | milter_manager_configuration_set_max_pending_finished_sessions ()

## Properties

guint | chunk-size | Read / Write / Construct
guint | connection-check-interval | Read / Write / Construct
char * | controller-connection-spec | Read / Write / Construct
char * | controller-unix-socket-group | Read / Write / Construct
guint | controller-unix-socket-mode | Read / Write / Construct
char * | custom-configuration-directory | Read / Write / Construct
gboolean | daemon | Read / Write / Construct
guint | default-packet-buffer-size | Read / Write
char * | effective-group | Read / Write / Construct
char * | effective-user | Read / Write / Construct
MilterClientEventLoopBackend | event-loop-backend | Read / Write
MilterStatus | fallback-status | Read / Write / Construct
MilterStatus | fallback-status-at-disconnect | Read / Write / Construct
guint | maintenance-interval | Read / Write / Construct
char * | manager-connection-spec | Read / Write / Construct
char * | manager-unix-socket-group | Read / Write / Construct
guint | manager-unix-socket-mode | Read / Write / Construct
guint | max-connections | Read / Write / Construct
guint | max-file-descriptors | Read / Write / Construct
guint | max-pending-finished-sessions | Read / Write
guint | n-workers | Read / Write
char * | package-options | Read / Write / Construct
char * | package-platform | Read / Write / Construct
char * | pid-file | Read / Write / Construct
char * | prefix | Read
gboolean | privilege-mode | Read / Write / Construct
gboolean | remove-controller-unix-socket-on-close | Read / Write / Construct
gboolean | remove-controller-unix-socket-on-create | Read / Write / Construct
gboolean | remove-manager-unix-socket-on-close | Read / Write / Construct
gboolean | remove-manager-unix-socket-on-create | Read / Write / Construct
guint | suspend-time-on-unacceptable | Read / Write / Construct
char * | syslog-facility | Read / Write / Construct
gboolean | use-syslog | Read / Write / Construct

## Signals

void | connected | Run Last
void | to-xml | Run Last

## Types and Values

#define | MILTER_MANAGER_CONFIGURATION_ERROR
enum | MilterManagerConfigurationError
| MilterManagerConfiguration
struct | MilterManagerConfigurationClass

## Object Hierarchy

        GObject
        ╰── MilterManagerConfiguration

## Description

## Functions

### milter_manager_configuration_error_quark ()

    GQuark
    milter_manager_configuration_error_quark
                                   (void);

milter_manager_configuration_error_quark

### milter_manager_configuration_instantiate ()

    MilterManagerConfiguration *
    milter_manager_configuration_instantiate
                                   (const gchar *first_property,
                                    ...);

This function takes the property values as variable length arguments.

[skip]

#### Parameters

first_property | The value of the first property. |

#### Returns

A newly created MilterManagerConfiguration.

[transfer full]

milter_manager_configuration_instantiate

### milter_manager_configuration_new ()

    MilterManagerConfiguration *
    milter_manager_configuration_new (const gchar *first_property,
                                      ...);

milter_manager_configuration_new

### milter_manager_configuration_append_load_path ()

    void
    milter_manager_configuration_append_load_path
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *path);

milter_manager_configuration_append_load_path

### milter_manager_configuration_prepend_load_path ()

    void
    milter_manager_configuration_prepend_load_path
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *path);

milter_manager_configuration_prepend_load_path

### milter_manager_configuration_clear_load_paths ()

    void
    milter_manager_configuration_clear_load_paths
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_clear_load_paths

### milter_manager_configuration_get_load_paths ()

    const GList *
    milter_manager_configuration_get_load_paths
                                   (MilterManagerConfiguration *configuration);

#### Parameters

configuration | A MilterManagerConfiguration. |

#### Returns

A list of load paths of configuration .

[transfer none][element-type utf8]

milter_manager_configuration_get_load_paths

### milter_manager_configuration_load ()

    gboolean
    milter_manager_configuration_load (MilterManagerConfiguration *configuration,
                                       const gchar *file_name,
                                       GError **error);

milter_manager_configuration_load

### milter_manager_configuration_load_if_exist ()

    gboolean
    milter_manager_configuration_load_if_exist
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *file_name,
                                    GError **error);

milter_manager_configuration_load_if_exist

### milter_manager_configuration_load_custom ()

    gboolean
    milter_manager_configuration_load_custom
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *file_name,
                                    GError **error);

milter_manager_configuration_load_custom

### milter_manager_configuration_load_custom_if_exist ()

    gboolean
    milter_manager_configuration_load_custom_if_exist
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *file_name,
                                    GError **error);

milter_manager_configuration_load_custom_if_exist

### milter_manager_configuration_reload ()

    gboolean
    milter_manager_configuration_reload (MilterManagerConfiguration *configuration,
                                         GError **error);

milter_manager_configuration_reload

### milter_manager_configuration_save_custom ()

    gboolean
    milter_manager_configuration_save_custom
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *content,
                                    gssize size,
                                    GError **error);

milter_manager_configuration_save_custom

### milter_manager_configuration_is_privilege_mode ()

    gboolean
    milter_manager_configuration_is_privilege_mode
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_privilege_mode

### milter_manager_configuration_set_privilege_mode ()

    void
    milter_manager_configuration_set_privilege_mode
                                   (MilterManagerConfiguration *configuration,
                                    gboolean mode);

milter_manager_configuration_set_privilege_mode

### milter_manager_configuration_get_controller_connection_spec ()

    const gchar *
    milter_manager_configuration_get_controller_connection_spec
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_controller_connection_spec

### milter_manager_configuration_set_controller_connection_spec ()

    void
    milter_manager_configuration_set_controller_connection_spec
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *spec);

milter_manager_configuration_set_controller_connection_spec

### milter_manager_configuration_get_manager_connection_spec ()

    const gchar *
    milter_manager_configuration_get_manager_connection_spec
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_manager_connection_spec

### milter_manager_configuration_set_manager_connection_spec ()

    void
    milter_manager_configuration_set_manager_connection_spec
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *spec);

milter_manager_configuration_set_manager_connection_spec

### milter_manager_configuration_get_effective_user ()

    const gchar *
    milter_manager_configuration_get_effective_user
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_effective_user

### milter_manager_configuration_set_effective_user ()

    void
    milter_manager_configuration_set_effective_user
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *user_name);

milter_manager_configuration_set_effective_user

### milter_manager_configuration_get_effective_group ()

    const gchar *
    milter_manager_configuration_get_effective_group
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_effective_group

### milter_manager_configuration_set_effective_group ()

    void
    milter_manager_configuration_set_effective_group
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *group_name);

milter_manager_configuration_set_effective_group

### milter_manager_configuration_get_manager_unix_socket_mode ()

    guint
    milter_manager_configuration_get_manager_unix_socket_mode
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_manager_unix_socket_mode

### milter_manager_configuration_set_manager_unix_socket_mode ()

    void
    milter_manager_configuration_set_manager_unix_socket_mode
                                   (MilterManagerConfiguration *configuration,
                                    guint mode);

milter_manager_configuration_set_manager_unix_socket_mode

### milter_manager_configuration_get_controller_unix_socket_mode ()

    guint
    milter_manager_configuration_get_controller_unix_socket_mode
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_controller_unix_socket_mode

### milter_manager_configuration_set_controller_unix_socket_mode ()

    void
    milter_manager_configuration_set_controller_unix_socket_mode
                                   (MilterManagerConfiguration *configuration,
                                    guint mode);

milter_manager_configuration_set_controller_unix_socket_mode

### milter_manager_configuration_get_manager_unix_socket_group ()

    const gchar *
    milter_manager_configuration_get_manager_unix_socket_group
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_manager_unix_socket_group

### milter_manager_configuration_set_manager_unix_socket_group ()

    void
    milter_manager_configuration_set_manager_unix_socket_group
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *group);

milter_manager_configuration_set_manager_unix_socket_group

### milter_manager_configuration_get_controller_unix_socket_group ()

    const gchar *
    milter_manager_configuration_get_controller_unix_socket_group
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_controller_unix_socket_group

### milter_manager_configuration_set_controller_unix_socket_group ()

    void
    milter_manager_configuration_set_controller_unix_socket_group
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *group);

milter_manager_configuration_set_controller_unix_socket_group

### milter_manager_configuration_is_remove_manager_unix_socket_on_close ()

    gboolean
    milter_manager_configuration_is_remove_manager_unix_socket_on_close
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_remove_manager_unix_socket_on_close

### milter_manager_configuration_set_remove_manager_unix_socket_on_close ()

    void
    milter_manager_configuration_set_remove_manager_unix_socket_on_close
                                   (MilterManagerConfiguration *configuration,
                                    gboolean remove);

milter_manager_configuration_set_remove_manager_unix_socket_on_close

### milter_manager_configuration_is_remove_controller_unix_socket_on_close ()

    gboolean
    milter_manager_configuration_is_remove_controller_unix_socket_on_close
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_remove_controller_unix_socket_on_close

### milter_manager_configuration_set_remove_controller_unix_socket_on_close ()

    void
    milter_manager_configuration_set_remove_controller_unix_socket_on_close
                                   (MilterManagerConfiguration *configuration,
                                    gboolean remove);

milter_manager_configuration_set_remove_controller_unix_socket_on_close

### milter_manager_configuration_is_remove_manager_unix_socket_on_create ()

    gboolean
    milter_manager_configuration_is_remove_manager_unix_socket_on_create
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_remove_manager_unix_socket_on_create

### milter_manager_configuration_set_remove_manager_unix_socket_on_create ()

    void
    milter_manager_configuration_set_remove_manager_unix_socket_on_create
                                   (MilterManagerConfiguration *configuration,
                                    gboolean remove);

milter_manager_configuration_set_remove_manager_unix_socket_on_create

### milter_manager_configuration_is_remove_controller_unix_socket_on_create ()

    gboolean
    milter_manager_configuration_is_remove_controller_unix_socket_on_create
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_remove_controller_unix_socket_on_create

### milter_manager_configuration_set_remove_controller_unix_socket_on_create ()

    void
    milter_manager_configuration_set_remove_controller_unix_socket_on_create
                                   (MilterManagerConfiguration *configuration,
                                    gboolean remove);

milter_manager_configuration_set_remove_controller_unix_socket_on_create

### milter_manager_configuration_is_daemon ()

    gboolean
    milter_manager_configuration_is_daemon
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_is_daemon

### milter_manager_configuration_set_daemon ()

    void
    milter_manager_configuration_set_daemon
                                   (MilterManagerConfiguration *configuration,
                                    gboolean daemon);

milter_manager_configuration_set_daemon

### milter_manager_configuration_get_pid_file ()

    const gchar *
    milter_manager_configuration_get_pid_file
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_pid_file

### milter_manager_configuration_set_pid_file ()

    void
    milter_manager_configuration_set_pid_file
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *pid_file);

milter_manager_configuration_set_pid_file

### milter_manager_configuration_get_fallback_status ()

    MilterStatus
    milter_manager_configuration_get_fallback_status
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_fallback_status

### milter_manager_configuration_set_fallback_status ()

    void
    milter_manager_configuration_set_fallback_status
                                   (MilterManagerConfiguration *configuration,
                                    MilterStatus status);

milter_manager_configuration_set_fallback_status

### milter_manager_configuration_get_fallback_status_at_disconnect ()

    MilterStatus
    milter_manager_configuration_get_fallback_status_at_disconnect
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_fallback_status_at_disconnect

### milter_manager_configuration_set_fallback_status_at_disconnect ()

    void
    milter_manager_configuration_set_fallback_status_at_disconnect
                                   (MilterManagerConfiguration *configuration,
                                    MilterStatus status);

milter_manager_configuration_set_fallback_status_at_disconnect

### milter_manager_configuration_get_package_platform ()

    const gchar *
    milter_manager_configuration_get_package_platform
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_package_platform

### milter_manager_configuration_set_package_platform ()

    void
    milter_manager_configuration_set_package_platform
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *platform);

milter_manager_configuration_set_package_platform

### milter_manager_configuration_get_package_options ()

    const gchar *
    milter_manager_configuration_get_package_options
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_package_options

### milter_manager_configuration_set_package_options ()

    void
    milter_manager_configuration_set_package_options
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *options);

milter_manager_configuration_set_package_options

### milter_manager_configuration_get_maintenance_interval ()

    guint
    milter_manager_configuration_get_maintenance_interval
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_maintenance_interval

### milter_manager_configuration_set_maintenance_interval ()

    void
    milter_manager_configuration_set_maintenance_interval
                                   (MilterManagerConfiguration *configuration,
                                    guint n_sessions);

milter_manager_configuration_set_maintenance_interval

### milter_manager_configuration_maintain ()

    void
    milter_manager_configuration_maintain (MilterManagerConfiguration *configuration);

milter_manager_configuration_maintain

### milter_manager_configuration_event_loop_created ()

    void
    milter_manager_configuration_event_loop_created
                                   (MilterManagerConfiguration *configuration,
                                    MilterEventLoop *loop);

milter_manager_configuration_event_loop_created

### milter_manager_configuration_get_suspend_time_on_unacceptable ()

    guint
    milter_manager_configuration_get_suspend_time_on_unacceptable
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_suspend_time_on_unacceptable

### milter_manager_configuration_set_suspend_time_on_unacceptable ()

    void
    milter_manager_configuration_set_suspend_time_on_unacceptable
                                   (MilterManagerConfiguration *configuration,
                                    guint suspend_time);

milter_manager_configuration_set_suspend_time_on_unacceptable

### milter_manager_configuration_get_max_connections ()

    guint
    milter_manager_configuration_get_max_connections
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_max_connections

### milter_manager_configuration_set_max_connections ()

    void
    milter_manager_configuration_set_max_connections
                                   (MilterManagerConfiguration *configuration,
                                    guint max_connections);

milter_manager_configuration_set_max_connections

### milter_manager_configuration_get_max_file_descriptors ()

    guint
    milter_manager_configuration_get_max_file_descriptors
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_max_file_descriptors

### milter_manager_configuration_set_max_file_descriptors ()

    void
    milter_manager_configuration_set_max_file_descriptors
                                   (MilterManagerConfiguration *configuration,
                                    guint max_file_descriptors);

milter_manager_configuration_set_max_file_descriptors

### milter_manager_configuration_get_custom_configuration_directory ()

    const gchar *
    milter_manager_configuration_get_custom_configuration_directory
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_custom_configuration_directory

### milter_manager_configuration_set_custom_configuration_directory ()

    void
    milter_manager_configuration_set_custom_configuration_directory
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *directory);

milter_manager_configuration_set_custom_configuration_directory

### milter_manager_configuration_clear_signal_handlers ()

    void
    milter_manager_configuration_clear_signal_handlers
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_clear_signal_handlers

### milter_manager_configuration_add_egg ()

    void
    milter_manager_configuration_add_egg (MilterManagerConfiguration *configuration,
                                          MilterManagerEgg *egg);

milter_manager_configuration_add_egg

### milter_manager_configuration_find_egg ()

    MilterManagerEgg *
    milter_manager_configuration_find_egg (MilterManagerConfiguration *configuration,
                                           const gchar *name);

#### Parameters

configuration | A MilterManagerConfiguration. |
name | The name of the egg to find. |

#### Returns

The MilterManagerEgg if it exists, `NULL` otherwise.

[transfer none][nullable]

milter_manager_configuration_find_egg

### milter_manager_configuration_get_eggs ()

    const GList *
    milter_manager_configuration_get_eggs (MilterManagerConfiguration *configuration);

#### Parameters

configuration | A MilterManagerConfiguration. |

#### Returns

A list of MilterManagerEgg.

[transfer none][element-type MilterManagerEgg]

milter_manager_configuration_get_eggs

### milter_manager_configuration_remove_egg ()

    void
    milter_manager_configuration_remove_egg
                                   (MilterManagerConfiguration *configuration,
                                    MilterManagerEgg *egg);

milter_manager_configuration_remove_egg

### milter_manager_configuration_remove_egg_by_name ()

    void
    milter_manager_configuration_remove_egg_by_name
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *name);

milter_manager_configuration_remove_egg_by_name

### milter_manager_configuration_clear_eggs ()

    void
    milter_manager_configuration_clear_eggs
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_clear_eggs

### milter_manager_configuration_setup_children ()

    void
    milter_manager_configuration_setup_children
                                   (MilterManagerConfiguration *configuration,
                                    MilterManagerChildren *children,
                                    MilterClientContext *context);

milter_manager_configuration_setup_children

### milter_manager_configuration_add_applicable_condition ()

    void
    milter_manager_configuration_add_applicable_condition
                                   (MilterManagerConfiguration *configuration,
                                    MilterManagerApplicableCondition *condition);

milter_manager_configuration_add_applicable_condition

### milter_manager_configuration_find_applicable_condition ()

    MilterManagerApplicableCondition *
    milter_manager_configuration_find_applicable_condition
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *name);

#### Parameters

configuration | A MilterManagerConfiguration. |
name | The name of the applicable condition to find. |

#### Returns

The MilterManagerApplicableCondition if it exists, `NULL` otherwise.

[transfer none][nullable]

milter_manager_configuration_find_applicable_condition

### milter_manager_configuration_get_applicable_conditions ()

    const GList *
    milter_manager_configuration_get_applicable_conditions
                                   (MilterManagerConfiguration *configuration);

#### Parameters

configuration | A MilterManagerConfiguration. |

#### Returns

A list of MilterManagerApplicableCondition.

[transfer none][element-type MilterManagerApplicableCondition]

milter_manager_configuration_get_applicable_conditions

### milter_manager_configuration_remove_applicable_condition ()

    void
    milter_manager_configuration_remove_applicable_condition
                                   (MilterManagerConfiguration *configuration,
                                    MilterManagerApplicableCondition *condition);

milter_manager_configuration_remove_applicable_condition

### milter_manager_configuration_remove_applicable_condition_by_name ()

    void
    milter_manager_configuration_remove_applicable_condition_by_name
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *name);

milter_manager_configuration_remove_applicable_condition_by_name

### milter_manager_configuration_clear_applicable_conditions ()

    void
    milter_manager_configuration_clear_applicable_conditions
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_clear_applicable_conditions

### milter_manager_configuration_clear ()

    gboolean
    milter_manager_configuration_clear (MilterManagerConfiguration *configuration,
                                        GError **error);

milter_manager_configuration_clear

### milter_manager_configuration_fork ()

    GPid
    milter_manager_configuration_fork (MilterManagerConfiguration *configuration);

milter_manager_configuration_fork

### milter_manager_configuration_session_finished ()

    void
    milter_manager_configuration_session_finished
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_session_finished

### milter_manager_configuration_n_sessions_finished ()

    void
    milter_manager_configuration_n_sessions_finished
                                   (MilterManagerConfiguration *configuration,
                                    guint n_sessions);

milter_manager_configuration_n_sessions_finished

### milter_manager_configuration_to_xml ()

    gchar *
    milter_manager_configuration_to_xml (MilterManagerConfiguration *configuration);

milter_manager_configuration_to_xml

### milter_manager_configuration_to_xml_string ()

    void
    milter_manager_configuration_to_xml_string
                                   (MilterManagerConfiguration *configuration,
                                    GString *string,
                                    guint indent);

milter_manager_configuration_to_xml_string

### milter_manager_configuration_dump ()

    gchar *
    milter_manager_configuration_dump (MilterManagerConfiguration *configuration);

milter_manager_configuration_dump

### milter_manager_configuration_set_location ()

    void
    milter_manager_configuration_set_location
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *key,
                                    const gchar *file,
                                    gint line);

milter_manager_configuration_set_location

### milter_manager_configuration_reset_location ()

    void
    milter_manager_configuration_reset_location
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *key);

milter_manager_configuration_reset_location

### milter_manager_configuration_get_location ()

    gconstpointer
    milter_manager_configuration_get_location
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *key);

milter_manager_configuration_get_location

### milter_manager_configuration_get_locations ()

    GHashTable *
    milter_manager_configuration_get_locations
                                   (MilterManagerConfiguration *configuration);

#### Parameters

configuration | A MilterManagerConfiguration. |

#### Returns

Locations of configuration .

[transfer none]

milter_manager_configuration_get_locations

### milter_manager_configuration_get_connection_check_interval ()

    guint
    milter_manager_configuration_get_connection_check_interval
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_connection_check_interval

### milter_manager_configuration_set_connection_check_interval ()

    void
    milter_manager_configuration_set_connection_check_interval
                                   (MilterManagerConfiguration *configuration,
                                    guint interval_in_seconds);

milter_manager_configuration_set_connection_check_interval

### milter_manager_configuration_get_event_loop_backend ()

    MilterClientEventLoopBackend
    milter_manager_configuration_get_event_loop_backend
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_event_loop_backend

### milter_manager_configuration_set_event_loop_backend ()

    void
    milter_manager_configuration_set_event_loop_backend
                                   (MilterManagerConfiguration *configuration,
                                    MilterClientEventLoopBackend backend);

milter_manager_configuration_set_event_loop_backend

### milter_manager_configuration_get_n_workers ()

    guint
    milter_manager_configuration_get_n_workers
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_n_workers

### milter_manager_configuration_set_n_workers ()

    void
    milter_manager_configuration_set_n_workers
                                   (MilterManagerConfiguration *configuration,
                                    guint n_workers);

milter_manager_configuration_set_n_workers

### milter_manager_configuration_get_default_packet_buffer_size ()

    guint
    milter_manager_configuration_get_default_packet_buffer_size
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_default_packet_buffer_size

### milter_manager_configuration_set_default_packet_buffer_size ()

    void
    milter_manager_configuration_set_default_packet_buffer_size
                                   (MilterManagerConfiguration *configuration,
                                    guint size);

milter_manager_configuration_set_default_packet_buffer_size

### milter_manager_configuration_get_prefix ()

    const gchar *
    milter_manager_configuration_get_prefix
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_prefix

### milter_manager_configuration_get_use_syslog ()

    gboolean
    milter_manager_configuration_get_use_syslog
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_use_syslog

### milter_manager_configuration_set_use_syslog ()

    void
    milter_manager_configuration_set_use_syslog
                                   (MilterManagerConfiguration *configuration,
                                    gboolean use_syslog);

milter_manager_configuration_set_use_syslog

### milter_manager_configuration_get_syslog_facility ()

    const gchar *
    milter_manager_configuration_get_syslog_facility
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_syslog_facility

### milter_manager_configuration_set_syslog_facility ()

    void
    milter_manager_configuration_set_syslog_facility
                                   (MilterManagerConfiguration *configuration,
                                    const gchar *facility);

milter_manager_configuration_set_syslog_facility

### milter_manager_configuration_get_chunk_size ()

    guint
    milter_manager_configuration_get_chunk_size
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_chunk_size

### milter_manager_configuration_set_chunk_size ()

    void
    milter_manager_configuration_set_chunk_size
                                   (MilterManagerConfiguration *configuration,
                                    guint size);

milter_manager_configuration_set_chunk_size

### milter_manager_configuration_get_max_pending_finished_sessions ()

    guint
    milter_manager_configuration_get_max_pending_finished_sessions
                                   (MilterManagerConfiguration *configuration);

milter_manager_configuration_get_max_pending_finished_sessions

### milter_manager_configuration_set_max_pending_finished_sessions ()

    void
    milter_manager_configuration_set_max_pending_finished_sessions
                                   (MilterManagerConfiguration *configuration,
                                    guint n_sessions);

milter_manager_configuration_set_max_pending_finished_sessions

## Types and Values

### MILTER_MANAGER_CONFIGURATION_ERROR

    #define MILTER_MANAGER_CONFIGURATION_ERROR           (milter_manager_configuration_error_quark())

MILTER_MANAGER_CONFIGURATION_ERROR

### enum MilterManagerConfigurationError

#### Members

MILTER_MANAGER_CONFIGURATION_ERROR_NOT_IMPLEMENTED |  |
MILTER_MANAGER_CONFIGURATION_ERROR_NOT_EXIST |  |
MILTER_MANAGER_CONFIGURATION_ERROR_UNKNOWN |  |
MILTER_MANAGER_CONFIGURATION_ERROR_SAVE |  |

MilterManagerConfigurationError

### MilterManagerConfiguration

    typedef struct _MilterManagerConfiguration MilterManagerConfiguration;

MilterManagerConfiguration

### struct MilterManagerConfigurationClass

    struct MilterManagerConfigurationClass {
        GObjectClass parent_class;

        gboolean     (*load)          (MilterManagerConfiguration *configuration,
                                       const gchar                *file_name,
                                       GError                    **error);
        gboolean     (*load_custom)   (MilterManagerConfiguration *configuration,
                                       const gchar                *file_name,
                                       GError                    **error);
        gboolean     (*maintain)      (MilterManagerConfiguration *configuration,
                                       GError                    **error);
        gboolean     (*event_loop_created)
                                      (MilterManagerConfiguration *configuration,
                                       MilterEventLoop            *loop,
                                       GError                    **error);
        void         (*connected)     (MilterManagerConfiguration *configuration,
                                       MilterManagerLeader        *leader);
        void         (*to_xml)        (MilterManagerConfiguration *configuration,
                                       GString                    *xml,
                                       guint                       indent);
        gchar       *(*dump)          (MilterManagerConfiguration *configuration);
        gboolean     (*clear)         (MilterManagerConfiguration *configuration,
                                       GError                    **error);
        GPid         (*fork)          (MilterManagerConfiguration *configuration);
    };

MilterManagerConfigurationClass

## Property Details

### The `“chunk-size”` property

      “chunk-size”               guint

The chunk size of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Allowed values: [1,65535]

Default value: 65535

MilterManagerConfiguration:chunk-size

### The `“connection-check-interval”` property

      “connection-check-interval” guint

The interval in seconds for checking whether SMTP connection between SMTP client and server is still connected or disconnected from SMTP client.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: 0

MilterManagerConfiguration:connection-check-interval

### The `“controller-connection-spec”` property

      “controller-connection-spec” char *

The controller connection spec of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:controller-connection-spec

### The `“controller-unix-socket-group”` property

      “controller-unix-socket-group” char *

The milter-manager controller's UNIX socket group.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:controller-unix-socket-group

### The `“controller-unix-socket-mode”` property

      “controller-unix-socket-mode” guint

The milter-manager controller's UNIX socket mode.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Allowed values: <= 511

Default value: 432

MilterManagerConfiguration:controller-unix-socket-mode

### The `“custom-configuration-directory”` property

      “custom-configuration-directory” char *

The directory for custom configuration.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:custom-configuration-directory

### The `“daemon”` property

      “daemon”                   gboolean

Whether milter-manager runs as daemon process.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: FALSE

MilterManagerConfiguration:daemon

### The `“default-packet-buffer-size”` property

      “default-packet-buffer-size” guint

The default packet buffer size of client contexts of the client.

Owner: MilterManagerConfiguration

Flags: Read / Write

Default value: 0

MilterManagerConfiguration:default-packet-buffer-size

### The `“effective-group”` property

      “effective-group”          char *

The effective group name of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:effective-group

### The `“effective-user”` property

      “effective-user”           char *

The effective user name of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:effective-user

### The `“event-loop-backend”` property

      “event-loop-backend”       MilterClientEventLoopBackend

The event loop backend of the configuration.

Owner: MilterManagerConfiguration

Flags: Read / Write

Default value: MILTER_CLIENT_EVENT_LOOP_BACKEND_GLIB

MilterManagerConfiguration:event-loop-backend

### The `“fallback-status”` property

      “fallback-status”          MilterStatus

The fallback status of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: MILTER_STATUS_ACCEPT

MilterManagerConfiguration:fallback-status

### The `“fallback-status-at-disconnect”` property

      “fallback-status-at-disconnect” MilterStatus

The fallback status at disconnect of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: MILTER_STATUS_TEMPORARY_FAILURE

MilterManagerConfiguration:fallback-status-at-disconnect

### The `“maintenance-interval”` property

      “maintenance-interval”     guint

Run maintenance process in after each N sessions. 0 means that periodical maintenance process isn't run.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: 10

MilterManagerConfiguration:maintenance-interval

### The `“manager-connection-spec”` property

      “manager-connection-spec”  char *

The manager connection spec of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: "unix:/run/milter-manager/milter-manager.sock"

MilterManagerConfiguration:manager-connection-spec

### The `“manager-unix-socket-group”` property

      “manager-unix-socket-group” char *

The milter-manager's UNIX socket group.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:manager-unix-socket-group

### The `“manager-unix-socket-mode”` property

      “manager-unix-socket-mode” guint

The milter-manager's UNIX socket mode.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Allowed values: <= 511

Default value: 432

MilterManagerConfiguration:manager-unix-socket-mode

### The `“max-connections”` property

      “max-connections”          guint

Max number of concurrent connections.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: 0

MilterManagerConfiguration:max-connections

### The `“max-file-descriptors”` property

      “max-file-descriptors”     guint

Max number of concurrent file descriptors.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: 0

MilterManagerConfiguration:max-file-descriptors

### The `“max-pending-finished-sessions”` property

      “max-pending-finished-sessions” guint

The maximum number of pending finished sessions of milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write

Default value: 0

MilterManagerConfiguration:max-pending-finished-sessions

### The `“n-workers”` property

      “n-workers”                guint

The number of worker processes of the client.

Owner: MilterManagerConfiguration

Flags: Read / Write

Allowed values: <= 1000

Default value: 0

MilterManagerConfiguration:n-workers

### The `“package-options”` property

      “package-options”          char *

The package options of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:package-options

### The `“package-platform”` property

      “package-platform”         char *

The package platform of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: "debian"

MilterManagerConfiguration:package-platform

### The `“pid-file”` property

      “pid-file”                 char *

The file name to be saved process ID.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:pid-file

### The `“prefix”` property

      “prefix”                   char *

The prefix of install directory.

Owner: MilterManagerConfiguration

Flags: Read

Default value: NULL

MilterManagerConfiguration:prefix

### The `“privilege-mode”` property

      “privilege-mode”           gboolean

Whether MilterManager runs on privilege mode.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: FALSE

MilterManagerConfiguration:privilege-mode

### The `“remove-controller-unix-socket-on-close”` property

      “remove-controller-unix-socket-on-close” gboolean

Whether milter-manager removes UNIX socket used for controller on close.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: TRUE

MilterManagerConfiguration:remove-controller-unix-socket-on-close

### The `“remove-controller-unix-socket-on-create”` property

      “remove-controller-unix-socket-on-create” gboolean

Whether milter-manager removes UNIX socket used for controller on create.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: TRUE

MilterManagerConfiguration:remove-controller-unix-socket-on-create

### The `“remove-manager-unix-socket-on-close”` property

      “remove-manager-unix-socket-on-close” gboolean

Whether milter-manager removes UNIX socket used for manager on close.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: TRUE

MilterManagerConfiguration:remove-manager-unix-socket-on-close

### The `“remove-manager-unix-socket-on-create”` property

      “remove-manager-unix-socket-on-create” gboolean

Whether milter-manager removes UNIX socket used for manager on create.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: TRUE

MilterManagerConfiguration:remove-manager-unix-socket-on-create

### The `“suspend-time-on-unacceptable”` property

      “suspend-time-on-unacceptable” guint

Suspend time on unacceptable.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: 5

MilterManagerConfiguration:suspend-time-on-unacceptable

### The `“syslog-facility”` property

      “syslog-facility”          char *

The syslog facility of the milter-manager.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: NULL

MilterManagerConfiguration:syslog-facility

### The `“use-syslog”` property

      “use-syslog”               gboolean

Whether milter-manager uses syslog.

Owner: MilterManagerConfiguration

Flags: Read / Write / Construct

Default value: TRUE

MilterManagerConfiguration:use-syslog

## Signal Details

### The `“connected”` signal

    void
    user_function (MilterManagerConfiguration *miltermanagerconfiguration,
                   MilterManagerLeader        *arg1,
                   gpointer                    user_data)

Flags: Run Last

MilterManagerConfiguration::connected

### The `“to-xml”` signal

    void
    user_function (MilterManagerConfiguration *miltermanagerconfiguration,
                   gpointer                    arg1,
                   guint                       arg2,
                   gpointer                    user_data)

Flags: Run Last

MilterManagerConfiguration::to-xml