This file is indexed.

/usr/include/grapple/grapple_client.h is in libgrapple-dev 0.9.1-0ubuntu3.

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
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
    Grapple - A fully featured network layer with a simple interface
    Copyright (C) 2006 Michael Simms

    This library 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.1 of the License, or (at your option) any later version.

    This library 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 library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

    Michael Simms
    michael@linuxgamepublishing.com
*/

#ifndef GRAPPLE_CLIENT_H
#define GRAPPLE_CLIENT_H

#include "grapple_callback.h"
#include "grapple_error.h"
#include "grapple_protocols.h"
#include "grapple_message.h"
#include "grapple_types.h"

#ifdef __cplusplus
extern "C" {
#endif

  extern grapple_client grapple_client_init(const char *,const char *);
  extern int grapple_client_address_set(grapple_client,const char *);
  extern int grapple_client_port_set(grapple_client,int);
  extern int grapple_client_protocol_set(grapple_client,grapple_protocol);
  extern int grapple_client_password_set(grapple_client,const char *);
  extern int grapple_client_start(grapple_client,int);
  extern int grapple_client_stop(grapple_client);
  extern int grapple_client_destroy(grapple_client);

  extern int grapple_client_connected(grapple_client);

  extern int grapple_client_name_set(grapple_client,const char *);

  extern int grapple_client_messagecount_get(grapple_client);
  extern int grapple_client_messages_waiting(grapple_client);

  extern char *grapple_client_session_get(grapple_client);

  extern int grapple_client_sequential_set(grapple_client,int);
  extern int grapple_client_sequential_get(grapple_client);

  extern grapple_message *grapple_client_message_pull(grapple_client);

  extern grapple_confirmid grapple_client_send(grapple_client,
					       grapple_user,
					       int,void *,int);

  extern grapple_user *grapple_client_userlist_get(grapple_client);

  extern int grapple_client_callback_set(grapple_client,
					 grapple_messagetype,
					 grapple_callback,
					 void *);
  extern int grapple_client_callback_setall(grapple_client,
					    grapple_callback,
					    void *);
  extern int grapple_client_callback_unset(grapple_client,
					   grapple_messagetype);


  extern grapple_client grapple_client_default_get(void);
  extern char *grapple_client_name_get(grapple_client,grapple_user);

  extern int grapple_client_enumusers(grapple_client,
				      grapple_user_enum_callback,
				      void *);
  extern int grapple_client_enumgroup(grapple_client,
				      grapple_user,
				      grapple_user_enum_callback,
				      void *);
  extern int grapple_client_enumgrouplist(grapple_client,
					  grapple_user_enum_callback,
					  void *);

  extern int grapple_client_ping(grapple_client);
  extern double grapple_client_ping_get(grapple_client,grapple_user);
  extern grapple_user grapple_client_serverid_get(grapple_client);

  extern grapple_user grapple_client_group_create(grapple_client,const char *);
  extern int grapple_client_group_add(grapple_client,grapple_user,
				      grapple_user);
  extern int grapple_client_group_remove(grapple_client,grapple_user,
					 grapple_user);
  extern int grapple_client_group_delete(grapple_client,grapple_user);

  extern grapple_user grapple_client_group_from_name(grapple_client,
						     const char *);
  extern grapple_user *grapple_client_groupusers_get(grapple_client,
						     grapple_user);
  extern grapple_user *grapple_client_grouplist_get(grapple_client);
  extern char *grapple_client_groupname_get(grapple_client,grapple_user);

  extern grapple_error grapple_client_error_get(grapple_client);

#ifdef __cplusplus
}
#endif

#endif