Skip to content

Commit

Permalink
add short summaries to headers that miss one
Browse files Browse the repository at this point in the history
  • Loading branch information
soig authored and ffesti committed Jan 28, 2016
1 parent a1794f9 commit c080226
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cliutils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#ifndef _CLIUTIL_H
#define _CLIUTIL_H

/** \file cliutils.h
*
* Misc helpers for RPM CLI tools
*/

#include <stdio.h>
#include <popt.h>
#include <rpm/rpmutil.h>
Expand Down
6 changes: 6 additions & 0 deletions lib/rpmcallback.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef _RPMCALLBACK_H
#define _RPMCALLBACK_H

/** \ingroup rpmcallback
* \file lib/rpmcallback.h
*
* (un)install callbacks
*/

#include <rpm/rpmtypes.h>

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions lib/rpmcli.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmcli rpmbuild
* \file lib/rpmcli.h
*
* Parsing RPM command line arguments
*/

#include <popt.h>
Expand Down
5 changes: 5 additions & 0 deletions lib/rpmlegacy.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#ifndef _RPMLEGACY_H
#define _RPMLEGACY_H

/** \ingroup header_legacy
* \file lib/rpmlegacy.h
*
* Some deprecated legacy API (do NOT use)
*/
#include <rpm/rpmtypes.h>
#include <rpm/rpmutil.h>

Expand Down
6 changes: 6 additions & 0 deletions lib/rpmtag.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef _RPMTAG_H
#define _RPMTAG_H

/** \ingroup rpmtag
* \file lib/rpmtag.h
*
* Accessing RPM tags: values, types, ...
*/

#include <rpm/rpmtypes.h>

#ifdef __cplusplus
Expand Down
6 changes: 6 additions & 0 deletions lib/rpmtd.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef _RPMTD_H
#define _RPMTD_H

/** \ingroup rpmtd
* \file lib/rpmtd.h
*
* RPM Tag Data Container API
*/

#include <rpm/rpmtypes.h>
#include <rpm/argv.h>

Expand Down
2 changes: 2 additions & 0 deletions lib/rpmvf.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/** \ingroup rpmvf
* \file lib/rpmvf.h
* @todo Add a more complete API...
*
* \brief Verify a package. The constants that enable/disable some sanity checks (mainly used at post (un)install)
*/
#include <rpm/rpmtypes.h>

Expand Down
2 changes: 2 additions & 0 deletions rpmio/argv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmargv
* \file rpmio/argv.h
*
* Argument Manipulation API.
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions rpmio/rpmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/** \ingroup rpmio
* \file rpmio/rpmio.h
*
* RPM I/O API (Fd_t is RPM equivalent to libc's FILE)
*/

#include <sys/types.h>
Expand Down
2 changes: 2 additions & 0 deletions rpmio/rpmkeyring.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmkeyring
* \file rpmio/rpmkeyring.h
*
* RPM keyring API
*/

#include <rpm/rpmtypes.h>
Expand Down
2 changes: 2 additions & 0 deletions rpmio/rpmmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmio
* \file rpmio/rpmmacro.h
*
* Macro API
*/

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions rpmio/rpmsq.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/** \ingroup rpmio
* \file rpmio/rpmsq.h
*
* Signal Queue API
*/
#include <rpm/rpmsw.h>
#include <signal.h>
Expand Down
7 changes: 7 additions & 0 deletions rpmio/rpmstrpool.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#ifndef _RPMSTRPOOL_H
#define _RPMSTRPOOL_H

/** \ingroup rpmstrpool
* \file rpmio/rpmstrpool.h
*
* String pools manipulation helper functions
*
*/

#include <rpm/rpmtypes.h>

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions rpmio/rpmsw.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmio
* \file rpmio/rpmsw.h
*
* Statistics API
*/

#include <unistd.h>
Expand Down
2 changes: 2 additions & 0 deletions rpmio/rpmurl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** \ingroup rpmio
* \file rpmio/rpmurl.h
*
* A couple utils for URL Manipulation
*/

#ifdef __cplusplus
Expand Down
3 changes: 2 additions & 1 deletion rpmio/rpmutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

#include <unistd.h>

/*
/** \file rpmio/rpmutil.h
*
* Miscellaneous utility macros:
* - portability wrappers for various gcc extensions like __attribute__()
* - ...
Expand Down
5 changes: 5 additions & 0 deletions sign/rpmsign.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#ifndef _RPMSIGN_H
#define _RPMSIGN_H

/** \file sign/rpmsign.h
*
* Signature API
*/

#include <rpm/argv.h>
#include <rpm/rpmpgp.h>

Expand Down
2 changes: 2 additions & 0 deletions system.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
* \file system.h
*
* Some misc low-level API
*/

#ifndef H_SYSTEM
Expand Down

0 comments on commit c080226

Please sign in to comment.