bcmnvram.h
来自「wi-fi sources for asus wl138g v2 pci car」· C头文件 代码 · 共 48 行
H
48 行
/* * NVRAM variable manipulation * * Copyright 2005-2006, Broadcom Corporation * All Rights Reserved. * * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. * * $Id$ */#ifndef _bcmnvram_h_#define _bcmnvram_h_#ifndef _LANGUAGE_ASSEMBLY#include <typedefs.h>#include <bcmdefs.h>/* * Get the value of an NVRAM variable. The pointer returned may be * invalid after a set. * @param name name of variable to get * @return value of variable or NULL if undefined */extern char * nvram_get(const char *name);/* * Get the value of an NVRAM variable. * @param name name of variable to get * @return value of variable or NUL if undefined */#define nvram_safe_get(name) (nvram_get(name) ? : "")/* * Get all NVRAM variables (format name=value\0 ... \0\0). * @param buf buffer to store variables * @param count size of buffer in bytes * @return 0 on success and errno on failure */extern int nvram_getall(char *buf, int count);#endif /* _LANGUAGE_ASSEMBLY */#endif /* _bcmnvram_h_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?