source: proiecte/PPPP/gdm/common/gdm-common.h @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 2.1 KB
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 */
20
21#ifndef _GDM_COMMON_H
22#define _GDM_COMMON_H
23
24#include <glib.h>
25
26#include "gdm-common-unknown-origin.h"
27
28G_BEGIN_DECLS
29
30gboolean       gdm_is_version_unstable            (void);
31void           gdm_set_fatal_warnings_if_unstable (void);
32
33int            gdm_wait_on_pid           (int pid);
34int            gdm_signal_pid            (int pid,
35                                          int signal);
36
37const char *   gdm_make_temp_dir         (char    *template);
38
39gboolean       gdm_string_hex_encode     (const GString *source,
40                                          int            start,
41                                          GString       *dest,
42                                          int            insert_at);
43gboolean       gdm_string_hex_decode     (const GString *source,
44                                          int            start,
45                                          int           *end_return,
46                                          GString       *dest,
47                                          int            insert_at);
48char          *gdm_generate_random_bytes (gsize          size,
49                                          GError       **error);
50
51G_END_DECLS
52
53#endif /* _GDM_COMMON_H */
Note: See TracBrowser for help on using the repository browser.