mirror of
https://github.com/Aorimn/dislocker
synced 2026-06-08 10:24:29 +00:00
8448a5ed5a
The `-Wno-unknown-attributes' clang warning option wasn't supported for all platforms so we now get through the #pragma directive of the preprocessor to tell clang not to consider `-Wunknown-attributes' for the Ruby headers. As this doesn't seem to be known for all versions of clang (at least for version 3.0-6ubuntu3 from Ubuntu 12.04), we also add a pragma for clang not to consider `-Wunknown-pragmas'.
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/* -*- coding: utf-8 -*- */
|
|
/* -*- mode: c -*- */
|
|
/*
|
|
* Dislocker -- enables to read/write on BitLocker encrypted partitions under
|
|
* Linux
|
|
* Copyright (C) 2012-2013 Romain Coltel, Hervé Schauer Consultants
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
* USA.
|
|
*/
|
|
#ifndef DIS_ACCESSES_H
|
|
#define DIS_ACCESSES_H
|
|
|
|
|
|
#include "dislocker/dislocker.h"
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Prototypes
|
|
*/
|
|
int dis_get_access(dis_context_t dis_ctx);
|
|
|
|
#ifdef _HAVE_RUBY
|
|
#include "dislocker/ruby.h"
|
|
|
|
void Init_accesses(VALUE rb_mDislocker);
|
|
#endif
|
|
|
|
|
|
#endif /* DIS_ACCESSES_H */
|