<commit_before>/**
 * @file
 * @brief Add LICK to the current boot loader (or set up a new boot loader)
 */

#pragma once

#include "lickdir.h"
#include "menu.h"
#include "system-info.h"

/**
 * @brief functions relevant to a boot loader plugin. Do not use directly, use
 *   the wrappers instead
 */
typedef struct {
    /// determines if the plugin supports the system
    int (*supported)(sys_info_t *info);
    /// determines if the plugin is currently installed
    int (*check)(sys_info_t *info);
    /// installs LICK, using the plugin<commit_msg>DOC: Point to the wrapper functions for loader_t<commit_after>/**
 * @file
 * @brief Add LICK to the current boot loader (or set up a new boot loader)
 */

#pragma once

#include "lickdir.h"
#include "menu.h"
#include "system-info.h"

/**
 * @brief functions relevant to a boot loader plugin. Do not use items directly,
 *   use the wrappers in boot-loader.h instead
 */
typedef struct {
    /// determines if the plugin supports the system
    int (*supported)(sys_info_t *info);
    /// determines if the plugin is currently installed
    int (*check)(sys_info_t *info);
    /// installs LICK, using the plugin
{'fraction_non_alphanumeric': 0.11063464837049743, 'fraction_numerical': 0.0, 'mean_word_length': 3.3707865168539324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '881073', 'n_tokens_mistral': 347, 'n_tokens_neox': 341, 'n_words': 145}