~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to lib/rpmlock.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2011-03-16 15:07:46 UTC
  • mfrom: (21.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20110316150746-hzwdsrf3csvq5fax
Tags: 4.9.0-2
* Fix symbols for 32-bit arches, fixes FTBFS.
* Build with --as-needed to minimize libraries deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef RPMLOCK_H
2
2
#define RPMLOCK_H 
3
3
 
4
 
void * rpmtsAcquireLock(rpmts ts);
5
 
void rpmtsFreeLock(void *lock);
 
4
#include <rpm/rpmutil.h>
 
5
 
 
6
typedef struct rpmlock_s * rpmlock;
 
7
 
 
8
#ifdef __cplusplus
 
9
extern "C" {
 
10
#endif
 
11
 
 
12
RPM_GNUC_INTERNAL
 
13
rpmlock rpmlockAcquire(const char *lock_path, const char *descr);
 
14
 
 
15
RPM_GNUC_INTERNAL
 
16
rpmlock rpmlockFree(rpmlock lock);
 
17
 
 
18
#ifdef __cplusplus
 
19
}
 
20
#endif
6
21
 
7
22
#endif