Skip to content
Snippets Groups Projects
Select Git revision
  • bf34a3c99dad2de9815a98068459c4af0ccdf098
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

0027-grub2-disable-mkfont-fix-build-on-Archlinux.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    template_parser.h 1.15 KiB
    /*
     * gluon-web Template - Parser header
     *
     *   Copyright (C) 2009 Jo-Philipp Wich <jow@openwrt.org>
     *   Copyright (C) 2018 Matthias Schiffer <mschiffer@universe-factory.net>
     *
     *  Licensed under the Apache License, Version 2.0 (the "License");
     *  you may not use this file except in compliance with the License.
     *  You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     *  Unless required by applicable law or agreed to in writing, software
     *  distributed under the License is distributed on an "AS IS" BASIS,
     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    
    #ifndef _TEMPLATE_PARSER_H_
    #define _TEMPLATE_PARSER_H_
    
    #include <lua.h>
    
    
    struct template_parser;
    
    
    struct template_parser * template_open(const char *file);
    struct template_parser * template_string(const char *str, size_t len);
    void template_close(struct template_parser *parser);
    
    const char *template_reader(lua_State *L, void *ud, size_t *sz);
    int template_error(lua_State *L, struct template_parser *parser);
    
    #endif