~ubuntu-branches/ubuntu/trusty/schroot/trusty

« back to all changes in this revision

Viewing changes to sbuild/sbuild-run-parts.h

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2009-11-07 10:46:54 UTC
  • mfrom: (1.1.20 upstream) (2.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091107104654-kk1fp1icv8dzfyfi
* New upstream development release.
* schroot:
  - Return success when ending a session and the operation
    succeeded (Closes: #554907).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright © 2005-2007  Roger Leigh <rleigh@debian.org>
 
1
/* Copyright © 2005-2009  Roger Leigh <rleigh@debian.org>
2
2
 *
3
3
 * schroot is free software: you can redistribute it and/or modify it
4
4
 * under the terms of the GNU General Public License as published by
43
43
      {
44
44
        CHILD_FORK, ///< Failed to fork child.
45
45
        CHILD_WAIT, ///< Wait for child failed.
46
 
        EXEC        ///< Failed to execute.
 
46
        EXEC,       ///< Failed to execute.
 
47
        PIPE,       ///< Failed to create pipe.
 
48
        DUP,        ///< Failed to duplicate file descriptor.
 
49
        POLL,       ///< Failed to poll file descriptor.
 
50
        READ        ///< Failed to read file descriptor.
47
51
      };
48
52
 
49
53
    /// Exception type.
173
177
    wait_for_child (pid_t pid,
174
178
                    int&  child_status);
175
179
 
176
 
    /**
177
 
     * Check a filename matches the allowed pattern(s).
178
 
     *
179
 
     * @param name the filename to check.
180
 
     * @returns true if it matches, false if not.
181
 
     */
182
 
    bool
183
 
    check_filename (std::string const& name);
184
 
 
185
180
    /// A sorted set of filenames to use.
186
181
    typedef std::set<std::string> program_set;
187
182