~ubuntu-branches/ubuntu/trusty/hime/trusty

« back to all changes in this revision

Viewing changes to src/im-client/hime-protocol.h

  • Committer: Package Import Robot
  • Author(s): Yao Wei (魏銘廷)
  • Date: 2012-06-09 11:42:18 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120609114218-1rildwuvtbxofbzl
Tags: 0.9.9+git20120619+dfsg-1
* Imported Upstream version 0.9.9+git20120609+dfsg
* debian/control:
  - upgrade dh compatibility to 9
  - add dependency to dpkg-dev
* debian/compat: upgrade dh compatibility to 9
add copyright information for DFSG git package
* debian/rules:
  - dirty hack for autoclean
  - remove moving gtk immodules to specific directories
  - add hardening flags
* debian/hime.install, debian/hime-gtk3-immodule.install:
  update gtk immodules install path
* debian/copyright: add copyright information for DFSG git package

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 * This library is free software; you can redistribute it and/or
4
4
 * modify it under the terms of the GNU Lesser General Public
5
 
 * License as published by the Free Software Foundation; either
6
 
 * version 2.1 of the License, or (at your option) any later version.
 
5
 * License as published by the Free Software Foundation version 2.1
 
6
 * of the License.
7
7
 *
8
8
 * This library is distributed in the hope that it will be useful,
9
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
18
#include <X11/Xlib.h>
19
19
#include "../hime-endian.h"
20
20
 
 
21
#define UNIX_PATH_MAX 108
 
22
 
21
23
typedef enum {
22
24
  HIME_req_key_press = 1,
23
25
  HIME_req_key_release = 2,
88
90
} Server_IP_port;
89
91
 
90
92
typedef struct {
91
 
  char sock_path[80];
 
93
  char sock_path[UNIX_PATH_MAX];
92
94
} Server_sock_path;
93
95
void __hime_enc_mem(u_char *p, int n, HIME_PASSWD *passwd, u_int *seed);