log-store-factory

## log-store-factory log-store-factory |

## Synopsis

    TplLogStore *       (*TplLogStoreConstructor)           (const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);
    TplLogStore *       (*TplLogStoreFactory)               (const gchar *logstore_type,
                                                             const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);
    void                tpl_log_store_factory_init          (void);
    void                tpl_log_store_factory_deinit        (void);
    void                tpl_log_store_factory_add           (const gchar *logstore_type,
                                                             TplLogStoreConstructor constructor);
    TplLogStoreConstructor  tpl_log_store_factory_lookup    (const gchar *logstore_type);
    TplLogStore *       tpl_log_store_factory_build         (const gchar *logstore_type,
                                                             const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);

## Description

## Details

### TplLogStoreConstructor ()

    TplLogStore *       (*TplLogStoreConstructor)           (const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);

`name` : |
`write_access` : |
`read_access` : |
Returns : |

### TplLogStoreFactory ()

    TplLogStore *       (*TplLogStoreFactory)               (const gchar *logstore_type,
                                                             const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);

`logstore_type` : |
`name` : |
`write_access` : |
`read_access` : |
Returns : |

### tpl_log_store_factory_init ()

    void                tpl_log_store_factory_init          (void);

### tpl_log_store_factory_deinit ()

    void                tpl_log_store_factory_deinit        (void);

### tpl_log_store_factory_add ()

    void                tpl_log_store_factory_add           (const gchar *logstore_type,
                                                             TplLogStoreConstructor constructor);

`logstore_type` : |
`constructor` : |

### tpl_log_store_factory_lookup ()

    TplLogStoreConstructor  tpl_log_store_factory_lookup    (const gchar *logstore_type);

`logstore_type` : |
Returns : |

### tpl_log_store_factory_build ()

    TplLogStore *       tpl_log_store_factory_build         (const gchar *logstore_type,
                                                             const gchar *name,
                                                             gboolean write_access,
                                                             gboolean read_access);

`logstore_type` : |
`name` : |
`write_access` : |
`read_access` : |
Returns : |