/usr/include/loudmouth-1.0/loudmouth/lm-proxy.h is in libloudmouth1-dev 1.5.2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2004 Imendio AB
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __LM_PROXY_H__
#define __LM_PROXY_H__
#if !defined (LM_INSIDE_LOUDMOUTH_H) && !defined (LM_COMPILATION)
#error "Only <loudmouth/loudmouth.h> can be included directly, this file may disappear or change contents."
#endif
G_BEGIN_DECLS
/**
* LmProxy:
*
* This should not be accessed directly. Use the accessor functions as described below.
*/
typedef struct _LmProxy LmProxy;
/**
* LmProxyType:
* @LM_PROXY_TYPE_NONE: Unused
* @LM_PROXY_TYPE_HTTP: An HTTP proxy.
*
* The type of the proxy.
*/
typedef enum {
LM_PROXY_TYPE_NONE = 0,
LM_PROXY_TYPE_HTTP
} LmProxyType;
LmProxy * lm_proxy_new (LmProxyType type);
LmProxy * lm_proxy_new_with_server (LmProxyType type,
const gchar *server,
guint port);
LmProxyType lm_proxy_get_type (LmProxy *proxy);
void lm_proxy_set_type (LmProxy *proxy,
LmProxyType type);
const gchar * lm_proxy_get_server (LmProxy *proxy);
void lm_proxy_set_server (LmProxy *proxy,
const gchar *server);
guint lm_proxy_get_port (LmProxy *proxy);
void lm_proxy_set_port (LmProxy *proxy,
guint port);
const gchar * lm_proxy_get_username (LmProxy *proxy);
void lm_proxy_set_username (LmProxy *proxy,
const gchar *username);
const gchar * lm_proxy_get_password (LmProxy *proxy);
void lm_proxy_set_password (LmProxy *proxy,
const gchar *password);
LmProxy * lm_proxy_ref (LmProxy *proxy);
void lm_proxy_unref (LmProxy *proxy);
G_END_DECLS
#endif /* __LM_PROXY_H__ */
|