## CamelJunkFilter

CamelJunkFilter

## Synopsis

                        CamelJunkFilter;
    enum                CamelJunkStatus;
    gboolean            camel_junk_filter_classify          (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             CamelJunkStatus *status,
                                                             GCancellable *cancellable,
                                                             GError **error);
    gboolean            camel_junk_filter_learn_junk        (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             GCancellable *cancellable,
                                                             GError **error);
    gboolean            camel_junk_filter_learn_not_junk    (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             GCancellable *cancellable,
                                                             GError **error);
    gboolean            camel_junk_filter_synchronize       (CamelJunkFilter *junk_filter,
                                                             GCancellable *cancellable,
                                                             GError **error);

## Object Hierarchy

      GInterface
       +----CamelJunkFilter

## Prerequisites

CamelJunkFilter requires GObject.

## Description

## Details

### CamelJunkFilter

    typedef struct _CamelJunkFilter CamelJunkFilter;

### enum CamelJunkStatus

    typedef enum {
    	CAMEL_JUNK_STATUS_INCONCLUSIVE,
    	CAMEL_JUNK_STATUS_MESSAGE_IS_JUNK,
    	CAMEL_JUNK_STATUS_MESSAGE_IS_NOT_JUNK
    } CamelJunkStatus;

### camel_junk_filter_classify ()

    gboolean            camel_junk_filter_classify          (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             CamelJunkStatus *status,
                                                             GCancellable *cancellable,
                                                             GError **error);

### camel_junk_filter_learn_junk ()

    gboolean            camel_junk_filter_learn_junk        (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             GCancellable *cancellable,
                                                             GError **error);

### camel_junk_filter_learn_not_junk ()

    gboolean            camel_junk_filter_learn_not_junk    (CamelJunkFilter *junk_filter,
                                                             CamelMimeMessage *message,
                                                             GCancellable *cancellable,
                                                             GError **error);

### camel_junk_filter_synchronize ()

    gboolean            camel_junk_filter_synchronize       (CamelJunkFilter *junk_filter,
                                                             GCancellable *cancellable,
                                                             GError **error);