<commit_before>/**
 * balde: A microframework for C based on GLib and bad intentions.
 * Copyright (C) 2013 <NAME> <<EMAIL>>
 *
 * This program can be distributed under the terms of the LGPL-2 License.
 * See the file COPYING.
 */

#ifndef _BALDE_APP_H
#define _BALDE_APP_H

#include <glib.h>
#include <balde/app.h>
#include <balde/routing.h>
#include <balde/wrappers.h>

typedef struct {
    GSList *views;
    GHashTable *config;
    GError *error;
} balde_app_t;

typedef balde_response_t* (*balde_view_func_t) (balde_app_t*, balde_request_t*);

typedef struct {
    balde_url_rule_t *url_rule;
    balde_view_func_t view_func;
} balde_view_t;

balde_app_t* balde_app_init(void);<commit_msg>removed uneeded include<commit_after>/**
 * balde: A microframework for C based on GLib and bad intentions.
 * Copyright (C) 2013 <NAME> <<EMAIL>>
 *
 * This program can be distributed under the terms of the LGPL-2 License.
 * See the file COPYING.
 */

#ifndef _BALDE_APP_H
#define _BALDE_APP_H

#include <glib.h>
#include <balde/routing.h>
#include <balde/wrappers.h>

typedef struct {
    GSList *views;
    GHashTable *config;
    GError *error;
} balde_app_t;

typedef balde_response_t* (*balde_view_func_t) (balde_app_t*, balde_request_t*);

typedef struct {
    balde_url_rule_t *url_rule;
    balde_view_func_t view_func;
} balde_view_t;

balde_app_t* balde_app_init(void);
{'fraction_non_alphanumeric': 0.10690909090909091, 'fraction_numerical': 0.007272727272727273, 'mean_word_length': 4.662551440329218, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '3699027', 'n_tokens_mistral': 558, 'n_tokens_neox': 535, 'n_words': 135}