xsupconfig_parse_profiles.c

来自「linux 下通过802.1认证的安装包」· C语言 代码 · 共 48 行

C
48
字号
/**
 * Licensed under a dual GPL/BSD license.  (See LICENSE file for more info.)
 *
 * \file xsupconfig_parse_profiles.c
 *
 * \author chris@open1x.org
 *
 * $Id: xsupconfig_parse_profiles.c,v 1.1.2.5 2007/04/20 18:35:50 chessing Exp $
 * $Date: 2007/04/20 18:35:50 $
 **/

#include <stdio.h>

#ifndef WINDOWS
#include <stdint.h>
#endif

#include <libxml/parser.h>
#include <libxml/tree.h>
#include <string.h>

#include "xsupconfig_structs.h"
#include "../../src/xsup_common.h"
#include "xsupconfig_parse.h"
#include "xsupconfig.h"
#include "xsupconfig_vars.h"
#include "xsupconfig_common.h"
#include "xsupconfig_parse_profile.h"

/**
 * Stub to allow the parser to be more logical.
 **/
void *xsupconfig_parse_profiles(void **attr, xmlNodePtr node)
{
#ifdef PARSE_DEBUG
	printf("Parsing profiles..\n");
#endif

	conf_profiles = NULL;

	return (*attr);
}

parser profiles[] = {
	{"Profile", (struct conf_parse_struct *)&profile, TRUE, xsupconfig_parse_profile},

	{NULL, NULL, FALSE, NULL}};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?