提交 d0fbaf16 编写于 作者: C Cao jin 提交者: Ján Tomko

virconf: correct code formatting

Signed-off-by: NCao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 4cbeb487
......@@ -938,8 +938,8 @@ virConfSetValue(virConfPtr conf,
* Returns 0 on success, or -1 on failure.
*/
int virConfWalk(virConfPtr conf,
virConfWalkCallback callback,
void *opaque)
virConfWalkCallback callback,
void *opaque)
{
virConfEntryPtr cur;
......
......@@ -77,25 +77,24 @@ typedef int (*virConfWalkCallback)(const char* name,
virConfValuePtr value,
void *opaque);
virConfPtr virConfNew (void);
virConfPtr virConfReadFile (const char *filename, unsigned int flags);
virConfPtr virConfReadMem (const char *memory,
int len, unsigned int flags);
int virConfFree (virConfPtr conf);
void virConfFreeValue (virConfValuePtr val);
virConfValuePtr virConfGetValue (virConfPtr conf,
const char *setting);
int virConfSetValue (virConfPtr conf,
const char *setting,
virConfValuePtr value);
virConfPtr virConfNew(void);
virConfPtr virConfReadFile(const char *filename, unsigned int flags);
virConfPtr virConfReadMem(const char *memory,
int len, unsigned int flags);
int virConfFree(virConfPtr conf);
void virConfFreeValue(virConfValuePtr val);
virConfValuePtr virConfGetValue(virConfPtr conf,
const char *setting);
int virConfSetValue(virConfPtr conf,
const char *setting,
virConfValuePtr value);
int virConfWalk(virConfPtr conf,
virConfWalkCallback callback,
void *opaque);
int virConfWriteFile (const char *filename,
virConfPtr conf);
int virConfWriteMem (char *memory,
int *len,
virConfPtr conf);
int virConfWriteFile(const char *filename,
virConfPtr conf);
int virConfWriteMem(char *memory,
int *len,
virConfPtr conf);
#endif /* __VIR_CONF_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册