rpm
5.4.15
Main Page
Related Pages
Data Structures
Files
File List
Globals
rpmio
rpmcvs.h
Go to the documentation of this file.
1
#ifndef H_RPMCVS
2
#define H_RPMCVS
3
10
/*@unchecked@*/
11
extern
int
_rpmcvs_debug
;
12
15
typedef
/*@refcounted@*/
struct
rpmcvs_s *
rpmcvs
;
16
17
#if defined(_RPMCVS_INTERNAL)
18
21
struct
rpmcvs_s {
22
struct
rpmioItem_s
_item;
23
const
char
* fn;
24
#if defined(__LCLINT__)
25
/*@refs@*/
26
int
nrefs;
27
#endif
28
};
29
#endif
/* _RPMCVS_INTERNAL */
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
40
/*@unused@*/
/*@null@*/
41
rpmcvs
rpmcvsUnlink
(
/*@killref@*/
/*@only@*/
/*@null@*/
rpmcvs
cvs)
42
/*@modifies cvs @*/
;
43
#define rpmcvsUnlink(_cvs) \
44
((rpmcvs)rpmioUnlinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
45
51
/*@unused@*/
/*@newref@*/
/*@null@*/
52
rpmcvs
rpmcvsLink
(
/*@null@*/
rpmcvs
cvs)
53
/*@modifies cvs @*/
;
54
#define rpmcvsLink(_cvs) \
55
((rpmcvs)rpmioLinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
56
62
/*@null@*/
63
rpmcvs
rpmcvsFree
(
/*@killref@*/
/*@null@*/
rpmcvs
cvs)
64
/*@globals fileSystem @*/
65
/*@modifies cvs, fileSystem @*/
;
66
#define rpmcvsFree(_cvs) \
67
((rpmcvs)rpmioFreePoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
68
75
/*@newref@*/
/*@null@*/
76
rpmcvs
rpmcvsNew
(
const
char
* fn,
int
flags
)
77
/*@globals fileSystem, internalState @*/
78
/*@modifies fileSystem, internalState @*/
;
79
80
#ifdef __cplusplus
81
}
82
#endif
83
84
#endif
/* H_RPMCVS */
rpmcvsFree
#define rpmcvsFree(_cvs)
Definition:
rpmcvs.h:66
rpmcvsNew
rpmcvs rpmcvsNew(const char *fn, int flags)
Create and load a cvs wrapper.
Definition:
rpmcvs.c:47
_rpmcvs_debug
int _rpmcvs_debug
Definition:
rpmcvs.c:17
flags
const char const bson int mongo_write_concern int flags
Definition:
mongo.h:485
rpmcvsUnlink
#define rpmcvsUnlink(_cvs)
Definition:
rpmcvs.h:43
rpmcvsLink
#define rpmcvsLink(_cvs)
Definition:
rpmcvs.h:54
rpmioItem_s
Definition:
rpmiotypes.h:42
rpmcvs
struct rpmcvs_s * rpmcvs
Definition:
rpmcvs.h:15
Generated by
1.8.8