L4Re/departure

Annotated fsaccess/session.h

360:92c5f6aa8c36
2022-06-12 Paul Boddie Reintroduced PagerObject code generation required to initiate servers. mmap-region-flags
paul@294 1
/*
paul@294 2
 * Common session details.
paul@294 3
 *
paul@294 4
 * Copyright (C) 2022 Paul Boddie <paul@boddie.org.uk>
paul@294 5
 *
paul@294 6
 * This program is free software; you can redistribute it and/or
paul@294 7
 * modify it under the terms of the GNU General Public License as
paul@294 8
 * published by the Free Software Foundation; either version 2 of
paul@294 9
 * the License, or (at your option) any later version.
paul@294 10
 *
paul@294 11
 * This program is distributed in the hope that it will be useful,
paul@294 12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
paul@294 13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
paul@294 14
 * GNU General Public License for more details.
paul@294 15
 *
paul@294 16
 * You should have received a copy of the GNU General Public License
paul@294 17
 * along with this program; if not, write to the Free Software
paul@294 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
paul@294 19
 * Boston, MA  02110-1301, USA
paul@294 20
 */
paul@294 21
paul@294 22
#pragma once
paul@294 23
paul@294 24
#include <sys/types.h>
paul@294 25
paul@294 26
/* Alternative metadata set by options. */
paul@294 27
paul@294 28
struct metadata
paul@294 29
{
paul@294 30
    mode_t mask;
paul@294 31
};
paul@294 32
paul@294 33
int parse_options(int argc, char *argv[]);
paul@294 34
paul@294 35
/* vim: tabstop=4 expandtab shiftwidth=4
paul@294 36
*/