Skip to content
Snippets Groups Projects
Commit e15e7a0b authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

remove useless function graph_build_g

parent d6b7eafd
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,6 @@
#include <66/tree.h>
#include <66/ssexec.h>
//extern void graph_build_g(graph_t *graph, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info) ;
extern void graph_build_tree(graph_t *g,char const *base, resolve_tree_master_enum_t field) ;
extern void graph_build_service(graph_t *g, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info, uint32_t flag) ;
extern int graph_compute_dependencies(graph_t *g, char const *vertex, char const *edge, uint8_t requiredby) ;
......
/*
* graph_build_g.c
*
* Copyright (c) 2018-2022 Eric Vidal <eric@obarun.org>
*
* 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/service.h>
#include <66/resolve.h>
#include <66/graph.h>
#include <66/ssexec.h>
void graph_build_g(graph_t *graph, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info)
{
log_flow() ;
if (data_type == DATA_SERVICE)
graph_build_service(graph, ares, areslen, info) ;
else if (data_type == DATA_TREE)
graph_build_tree(g, info->base.s, E_RESOLVE_TREE_MASTER_CONTENTS) ;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment