Skip to content
Snippets Groups Projects
info_graph_init.c 802 B
Newer Older
  • Learn to ignore specific revisions
  • Eric Vidal's avatar
    Eric Vidal committed
    /*
     * info_graph_init.c
     *
    
    Eric Vidal's avatar
    Eric Vidal committed
     * Copyright (c) 2018-2023 Eric Vidal <eric@obarun.org>
    
    Eric Vidal's avatar
    Eric Vidal committed
     *
     * All rights reserved.
     *
     * This file is part of Obarun. It is subject to the license terms in
     * the LICENSE file found in the top-level directory of this
     * distribution.
     * This file may not be copied, modified, propagated, or distributed
     * except according to the terms contained in the LICENSE file./
     * */
    
    #include <oblibs/log.h>
    
    #include <66/info.h>
    
    unsigned int MAXDEPTH = 1 ;
    
    info_graph_style graph_utf8 = {
        UTF_VR UTF_H,
        UTF_UR UTF_H,
        UTF_V " ",
        2
    } ;
    
    info_graph_style graph_default = {
    
    Eric Vidal's avatar
    Eric Vidal committed
        "|-", // tip
        "`-", // last
        "|", // limb
    
    Eric Vidal's avatar
    Eric Vidal committed
        2
    } ;
    
    depth_t info_graph_init(void)
    {
        log_flow() ;
    
        depth_t d = {
            NULL,
            NULL,
            1
        } ;
    
        return d ;
    }