Wed, 01 Dec 2004 01:17:19 +0000
[gaim-migrate @ 11451]
Patch from Scott Shedden to have the blist hidden when Gaim starts.
This actually probably won't work for most people currently, because
on X11, the docklet is added asynchrously, so we usually won't realize the
docklet exists until we've already created the blist. I'm sure there
must be some way around this, though (Scott's solution was to manually hide
the buddy list when the docklet was finally embedded. I may fall back on
that).
committer: Sean Egan <seanegan@pidgin.im>
| 8907 | 1 | /* |
| 2 | * The contents of this file are subject to the Mozilla Public | |
| 3 | * License Version 1.1 (the "License"); you may not use this file | |
| 4 | * except in compliance with the License. You may obtain a copy of | |
| 5 | * the License at http://www.mozilla.org/MPL/ | |
| 6 | * | |
| 7 | * Software distributed under the License is distributed on an "AS | |
| 8 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | |
| 9 | * implied. See the License for the specific language governing | |
| 10 | * rights and limitations under the License. | |
| 11 | * | |
| 12 | * The Original Code is SHA 180-1 Reference Implementation (Compact version) | |
| 13 | * | |
| 14 | * The Initial Developer of the Original Code is Paul Kocher of | |
| 15 | * Cryptography Research. Portions created by Paul Kocher are | |
| 16 | * Copyright (C) 1995-9 by Cryptography Research, Inc. All | |
| 17 | * Rights Reserved. | |
| 18 | * | |
| 19 | * Contributor(s): | |
| 20 | * | |
| 21 | */ | |
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8907
diff
changeset
|
22 | #ifndef _GAIM_SHA_H_ |
|
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8907
diff
changeset
|
23 | #define _GAIM_SHA_H_ |
| 8907 | 24 | |
| 25 | #include <glib.h> | |
| 26 | ||
| 27 | typedef struct { | |
| 28 | guint32 H[5]; | |
| 29 | guint32 W[80]; | |
| 30 | int lenW; | |
| 31 | guint32 sizeHi; | |
| 32 | guint32 sizeLo; | |
| 33 | } SHA_CTX; | |
| 34 | ||
| 6987 | 35 | int strprintsha(char *dest, int *hashval); |
| 36 | void shaInit(SHA_CTX *ctx); | |
| 37 | void shaUpdate(SHA_CTX *ctx, unsigned char *dataIn, int len); | |
| 38 | void shaFinal(SHA_CTX *ctx, unsigned char hashout[20]); | |
| 39 | void shaBlock(unsigned char *dataIn, int len, unsigned char hashout[20]); | |
| 8907 | 40 | |
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8907
diff
changeset
|
41 | #endif /* _GAIM_SHA_H_ */ |