Skip to content

Commit

Permalink
Make rpmug*() properly internal to librpm now that we can
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatilai committed Nov 30, 2023
1 parent 6a64145 commit 11a2eb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/rpmug.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#ifndef _RPMUG_H
#define _RPMUG_H

#include <rpm/rpmutil.h>
#include <sys/types.h>

RPM_GNUC_INTERNAL
int rpmugUid(const char * name, uid_t * uid);

RPM_GNUC_INTERNAL
int rpmugGid(const char * name, gid_t * gid);

RPM_GNUC_INTERNAL
const char * rpmugUname(uid_t uid);

RPM_GNUC_INTERNAL
const char * rpmugGname(gid_t gid);

RPM_GNUC_INTERNAL
void rpmugFree(void);

#endif /* _RPMUG_H */

0 comments on commit 11a2eb4

Please sign in to comment.