~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to libdaemon/client/daemon-shared.h

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2013-03-03 12:33:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130303123347-smfwei6dodkdth55
Tags: 2.02.98-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2011-2012 Red Hat, Inc.
3
 
 *
4
 
 * This file is part of LVM2.
5
 
 *
6
 
 * This copyrighted material is made available to anyone wishing to use,
7
 
 * modify, copy, or redistribute it subject to the terms and conditions
8
 
 * of the GNU Lesser General Public License v.2.1.
9
 
 *
10
 
 * You should have received a copy of the GNU Lesser General Public License
11
 
 * along with this program; if not, write to the Free Software Foundation,
12
 
 * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13
 
 */
14
 
 
15
 
#ifndef _LVM_DAEMON_SHARED_H
16
 
#define _LVM_DAEMON_SHARED_H
17
 
 
18
 
#include "configure.h"
19
 
 
20
 
#define _REENTRANT
21
 
#define _GNU_SOURCE
22
 
#define _FILE_OFFSET_BITS 64
23
 
 
24
 
#include <stdarg.h>
25
 
 
26
 
int read_buffer(int fd, char **buffer);
27
 
int write_buffer(int fd, const char *buffer, int length);
28
 
char *format_buffer(const char *what, const char *id, va_list ap);
29
 
 
30
 
#endif /* _LVM_DAEMON_SHARED_H */