~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to src/lxc/checkpoint.c

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter, Stéphane Graber, Guido Trotter
  • Date: 2010-01-10 10:40:21 UTC
  • mfrom: (1.1.2 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100110104021-z8rj5zw5mlvra08l
Tags: 0.6.4-1
[ Stéphane Graber ]
* Upgrade standards-version to 3.8.3
* Drop the copy of etc/* from rules as "etc" is no longer in the tarball

[ Guido Trotter ]
* New Upstream Version
* Update libcap2-dev dependency to libcap-dev
* Install upstream-built man pages via debian/lxc.manpages
* Drop unneeded docbook-utils build dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * License along with this library; if not, write to the Free Software
21
21
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
22
 */
23
 
#define _GNU_SOURCE
24
 
#include <stdio.h>
25
 
#undef _GNU_SOURCE
26
 
#include <fcntl.h>
27
 
#include <signal.h>
28
 
#include <stdlib.h>
29
 
#include <string.h>
30
 
#include <unistd.h>
31
 
#include <errno.h>
32
 
#include <sys/types.h>
33
 
#include <sys/stat.h>
34
 
#include <sys/param.h>
35
 
#include <sys/file.h>
36
 
#include <netinet/in.h>
37
 
#include <net/if.h>
38
 
 
39
 
#include "error.h"
40
 
#include "lxc_plugin.h"
41
 
#include <lxc.h>
42
 
 
 
23
#include <lxc/lxc.h>
43
24
#include <lxc/log.h>
44
25
 
45
26
lxc_log_define(lxc_checkpoint, lxc);
46
27
 
47
 
int lxc_checkpoint(const char *name, int fd, unsigned long flags)
 
28
int lxc_checkpoint(const char *name, const char *statefile, int flags)
48
29
{
49
30
        return 0;
50
31
}