зеркало из https://github.com/mozilla/pjs.git
762 строки
14 KiB
C
762 строки
14 KiB
C
/*
|
|
* The contents of this file are subject to the Netscape Public License
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
* http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
* for the specific language governing rights and limitations under the
|
|
* NPL.
|
|
*
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
* Reserved.
|
|
*/
|
|
|
|
#ifndef _ROSETTA_H_
|
|
#define _ROSETTA_H_
|
|
|
|
#define HG87729
|
|
#define HG92192 FALSE
|
|
#define HG21872
|
|
#define HG12021 FALSE
|
|
#define HG92725
|
|
#define HG83738
|
|
#define HG29292
|
|
#define HG28926
|
|
#define HG29822
|
|
#define HG29832
|
|
#define HG83734
|
|
#define HG73252
|
|
#define HG93733
|
|
#define HG29828
|
|
#define HG38276
|
|
#define HG36527 xpNewsRC
|
|
#define HG98333 FALSE
|
|
#define HG73267 FALSE
|
|
#define HG87366 if (!port) port = NEWS_PORT;
|
|
#define HG83765
|
|
#define HG37630
|
|
#define HG83178
|
|
#define HG78636
|
|
#define HG72688 FALSE
|
|
#define HG83737
|
|
#define HG71654
|
|
#define HG93663
|
|
#define HG73622
|
|
#define HG87355
|
|
#define HG25525
|
|
#define HG26477
|
|
#define HG78365
|
|
#define HG89732
|
|
#define HG87535
|
|
#define HG87963
|
|
#define HG91476
|
|
#define HG78271
|
|
#define HG25167 return 0;
|
|
#define HG98726
|
|
#define HG82798
|
|
#define HG87266
|
|
#define HG19826
|
|
#define HG82266
|
|
#define HG18262
|
|
#define HG12765
|
|
#define HG16236
|
|
#define HG16215
|
|
#define HG28366
|
|
#define HG18763
|
|
#define HG28736
|
|
#define HG28361
|
|
#define HG23837
|
|
#define HG65276 TRUE
|
|
#define HG38467 "Sorry, no can do."
|
|
#define HG84636
|
|
#define HG48362
|
|
#define HG72626
|
|
#define HG38376
|
|
#define HG38262
|
|
#define HG37252
|
|
#define HG93634
|
|
#define HG56817
|
|
#define HG43241
|
|
#define HG12515
|
|
#define HG07606
|
|
#define HG94794
|
|
#define HG51096
|
|
#define HG59609
|
|
#define HG40252
|
|
#define HG28879
|
|
#define HG71089
|
|
#define HG31456
|
|
#define HG69136
|
|
#define HG86722
|
|
#define HG87489
|
|
#define HG22864
|
|
#define HG40560
|
|
#define HG33086
|
|
#define HG17928
|
|
#define HG68092
|
|
#define HG08747
|
|
#define HG60917
|
|
#define HG82493
|
|
#define HG85890
|
|
#define HG09714
|
|
#define HG90967
|
|
#define HG59852
|
|
#define HG61365
|
|
#define HG54978
|
|
#define HG18931
|
|
#define HG29784
|
|
#define HG82168
|
|
#define HG29989
|
|
#define HG48722
|
|
#define HG47352
|
|
#define HG05988
|
|
#define HG05989
|
|
#define HG83344
|
|
#define HG73299
|
|
#define HG00374
|
|
#define HG83666
|
|
#define HG77677 "msgpane.h"
|
|
#define HG77678
|
|
#define HG72266
|
|
#define HG72267 XP_STRDUP
|
|
#define HG29872
|
|
#define HG52442
|
|
#define HG42322
|
|
#define HG72530
|
|
#define HG52421
|
|
#define HG52987
|
|
#define HG72224 XP_STRDUP
|
|
#define HG62294 XP_STRDUP
|
|
#define HG52286
|
|
#define HG64384
|
|
#define HG99874 "msgsend.h"
|
|
#define HG83647
|
|
#define HG62453
|
|
#define HG42326
|
|
#define HG52432
|
|
#define HG62239
|
|
#define HG42420
|
|
#define HG42933
|
|
#define HG52965
|
|
#define HG66663 ,XP_Bool x1, XP_Bool x2
|
|
#define HG66664
|
|
#define HG65243
|
|
#define HG00282 XP_Bool x1, XP_Bool x2,
|
|
#define HG02872
|
|
#define HG65241 ,FALSE, FALSE
|
|
#define HG73530
|
|
#define HG72523
|
|
#define HG09275
|
|
#define HG24327
|
|
#define HG24326
|
|
#define HG23258 XP_STRDUP
|
|
#define HG28265 XP_STRDUP
|
|
#define HG24239
|
|
#define HG56307
|
|
#define HG32686 XP_STRDUP
|
|
#define HG53961
|
|
#define HG97760
|
|
#define HG29866
|
|
#define HG72142
|
|
#define HG82309
|
|
#define HG63256
|
|
#define HG87635
|
|
#define HG32428
|
|
#define HG82454
|
|
#define HG43788
|
|
#define HG98298
|
|
#define HG92734
|
|
#define HG87637
|
|
#define HG92435
|
|
#define HG62437
|
|
#define HG62422
|
|
#define HG89377
|
|
#define HG83623
|
|
#define HG68452
|
|
#define HG93873
|
|
#define HG54897
|
|
#define HG96484
|
|
#define HG15448 ,FALSE, FALSE
|
|
#define HG83336
|
|
#define HG63531 0
|
|
#define HG73653(a) 0
|
|
#define HG52242
|
|
#define HG42320
|
|
#define HG98379
|
|
#define HG65293(a) 0
|
|
#define HG42539
|
|
#define HG72761 cur_ptr += 2*sizeof(int32);
|
|
#define HG42490
|
|
#define HG73699
|
|
#define HG72873
|
|
#define HG83778
|
|
#define HG32839
|
|
#define HG73209
|
|
#define HG65288 "client.h"
|
|
#define HG73891
|
|
#define HG76298
|
|
#define HG87325
|
|
#define HG73896
|
|
#define HG73684
|
|
#define HG83903
|
|
#define HG32138
|
|
#define HG65294
|
|
#define HG83267
|
|
#define HG63287
|
|
#define HG63453
|
|
#define HG98471
|
|
#define HG52897
|
|
#define HG73870
|
|
#define HG74380
|
|
#define HG52980
|
|
#define HG87326 "mkhelp.h"
|
|
#define HG45245 "mkhelp.h"
|
|
#define HG63250 "mkhelp.h"
|
|
#define HG42784
|
|
#define HG73787
|
|
#define HG72987
|
|
#define HG52422
|
|
#define HG62630
|
|
#define HG24324
|
|
#define HG63454
|
|
#define HG42422
|
|
#define HG64398
|
|
#define HG77355
|
|
#define HG42421
|
|
#define HG87237
|
|
#define HG52423
|
|
#define HG76373 TRUE
|
|
#define HG72388 TRUE;
|
|
#define HG52223 TRUE;
|
|
#define HG53535
|
|
#define HG52528 FALSE;
|
|
#define HG73277 FALSE
|
|
#define HG73738
|
|
#define HG62522
|
|
#define HG62363
|
|
#define HG24242 this_entry->protocol = HTTP_TYPE_URL;
|
|
#define HG42469
|
|
#define HG87376
|
|
#define HG76363
|
|
#define HG83667
|
|
#define HG00484
|
|
#define HG88000
|
|
#define HG50027
|
|
#define HG72762
|
|
#define HG16262
|
|
#define HG72661
|
|
#define HG13227
|
|
#define HG65256
|
|
#define HG33234
|
|
#define HG22658
|
|
#define HG28266
|
|
#define HG00729
|
|
#define HG60283
|
|
#define HG60207
|
|
#define HG42440
|
|
#define HG20026
|
|
#define HG02977
|
|
#define HG02726
|
|
#define HG98276
|
|
#define HG72999
|
|
#define HG73943
|
|
#define HG92762
|
|
#define HG92755
|
|
#define HG98229
|
|
#define HG98265
|
|
#define HG93653
|
|
#define HG82762
|
|
#define HG82621
|
|
#define HG22960
|
|
#define HG92827
|
|
#define HG02087
|
|
#define HG82126
|
|
#define HG62212 FALSE, FALSE
|
|
#define HG91611 FALSE, FALSE
|
|
#define HG81762 FALSE, FALSE
|
|
#define HG76255 FALSE, FALSE
|
|
#define HG22987
|
|
#define HG22296 FALSE, FALSE
|
|
#define HG22867
|
|
#define HG32145
|
|
#define HG09990 FALSE, FALSE
|
|
#define HG89520
|
|
#define HG02192 FALSE, FALSE
|
|
#define HG82821
|
|
#define HG82224
|
|
#define HG22821
|
|
#define HG03067 "msg.h"
|
|
#define HG23277
|
|
#define HG92923
|
|
#define HG82220
|
|
#define HG22067
|
|
#define HG98330
|
|
#define HG98373
|
|
#define HG22860
|
|
#define HG02700 "NIKI"
|
|
#define HG99877 "prefapi.h"
|
|
#define HG02902 "msgsend.h"
|
|
#define HG98214 "rosetta.h"
|
|
#define HG72621
|
|
#define HG10828
|
|
#define HG82727
|
|
#define HG26763
|
|
#define HG26250
|
|
#define HG26251
|
|
#define HG26252 SECFailure;
|
|
#define HG26253 FALSE
|
|
#define HG26237
|
|
#define HG26748
|
|
#define HG98476
|
|
#define HG83764
|
|
#define HG83744
|
|
#define HG83476
|
|
#define HG84777
|
|
#define HG27398
|
|
#define HG83263
|
|
#define HG22730
|
|
#define HG74640
|
|
#define HG87365
|
|
#define HG73632
|
|
#define HG29383
|
|
#define HG25262
|
|
#define HG17993
|
|
#define HG72294
|
|
#define HG21522
|
|
#define HG03937
|
|
#define HG21632
|
|
#define HG22220
|
|
#define HG38932
|
|
#define HG83330
|
|
#define HG20476
|
|
#define HG87358
|
|
#define HG93765
|
|
#define HG92743 Bool dummy,
|
|
#define HG83665
|
|
#define HG98376 FALSE,
|
|
#define HG92362
|
|
#define HG26300
|
|
#define HG27229 "rosetta.h"
|
|
#define HG27230 FALSE,
|
|
#define HG27326 "mkutils.h"
|
|
#define HG32828
|
|
#define HG26363 "msgnet.h"
|
|
#define HG26227
|
|
#define HG27327 FALSE
|
|
#define HG38373 FALSE
|
|
#define HG72524
|
|
#define HG73654 FALSE
|
|
#define HG87263 FALSE
|
|
#define HG83733 FALSE
|
|
#define HG32830 FALSE
|
|
#define HG29237
|
|
#define HG87373 "net.h"
|
|
#define HG73226
|
|
#define HG38731
|
|
#define HG87272 MK_LDAP_TITLE
|
|
#define HG73272 MK_LDAP_TITLE
|
|
#define HG73211
|
|
#define HG83363
|
|
#define HG26557
|
|
#define HG27328
|
|
#define HG23833
|
|
#define HG28330
|
|
#define HG10299 "gui.h"
|
|
#define HG10300 FALSE,
|
|
#define HG82332
|
|
#define HG32949
|
|
#define HG38737
|
|
#define HG29239
|
|
#define HG28287
|
|
#define HG22999 FALSE,
|
|
#define HG93230
|
|
#define HG29399
|
|
#define HG20900
|
|
#define HG23929 "mktcp.h"
|
|
#define HG82300
|
|
#define HG21899
|
|
#define HG19088
|
|
#define HG10877
|
|
#define HG23298
|
|
#define HG29898
|
|
#define HG22201
|
|
#define HG38738 FALSE,
|
|
#define HG02873 FALSE,
|
|
#define HG92892
|
|
#define HG92871
|
|
#define HG82772
|
|
#define HG03903
|
|
#define HG82773 FALSE
|
|
#define HG22087 FALSE
|
|
#define HG22088
|
|
#define HG22089 FALSE
|
|
#define HG21092
|
|
#define HG09309
|
|
#define HG29802 0
|
|
#define HG93882
|
|
#define HG93898
|
|
#define HG93288
|
|
#define HG21090
|
|
#define HG20092
|
|
#define HG29398
|
|
#define HG83273
|
|
#define HG09438 "mkpop3.h"
|
|
#define HG09439 FALSE,
|
|
#define HG23535 "mktcp.h"
|
|
#define HG27655
|
|
#define HG83763
|
|
#define HG35353
|
|
#define HG38763 "mime.h"
|
|
#define HG83777
|
|
#define HG35632
|
|
#define HG83773
|
|
#define HG83787
|
|
#define HG73678
|
|
#define HG84378
|
|
#define HG84772
|
|
#define HG99875 XP_STRDUP
|
|
#define HG99876 XP_STRDUP
|
|
#define HG99879 XP_STRDUP
|
|
#define HG99880
|
|
#define HG99881
|
|
#define HG99882
|
|
#define HG53784
|
|
#define HG78478
|
|
#define HG89984
|
|
#define HG54689
|
|
#define HG55451
|
|
#define HG36459
|
|
#define HG75442
|
|
#define HG59731
|
|
#define HG56898
|
|
#define HG78111 FALSE
|
|
|
|
/* WINDOWS FRONT END */
|
|
|
|
|
|
#define HG37279
|
|
#define HG83788
|
|
#define HG82387
|
|
#define HG89327
|
|
#define HG27635
|
|
#define HG83722
|
|
#define HG32564
|
|
#define HG73537
|
|
#define HG21675
|
|
#define HG72866 FALSE;
|
|
#define HG27861
|
|
#define HG73221 FALSE
|
|
#define HG73723
|
|
#define HG28751 FALSE;
|
|
#define HG28972
|
|
#define HG29172
|
|
#define HG98271
|
|
#define HG27851
|
|
#define HG98261
|
|
#define HG28768
|
|
#define HG28728
|
|
#define HG26723
|
|
#define HG29792
|
|
#define HG38729
|
|
#define HG81325
|
|
#define HG87322
|
|
#define HG28218
|
|
#define HG76528
|
|
#define HG27625
|
|
#define HG72521
|
|
#define HG87282
|
|
#define HG28762
|
|
#define HG92611
|
|
#define HG11173
|
|
#define HG21215
|
|
#define HG21326
|
|
#define HG22121
|
|
#define HG28363
|
|
#define HG26545
|
|
#define HG12421
|
|
#define HG17231
|
|
#define HG26576 int idx = -1;
|
|
#define HG26522
|
|
#define HG87236 return;
|
|
#define HG17236 return;
|
|
#define HG87211
|
|
#define HG26722
|
|
#define HG27811
|
|
#define HG27129
|
|
#define HG21198 FALSE, FALSE
|
|
#define HG26726
|
|
#define HG21892 FALSE, FALSE
|
|
#define HG28118
|
|
#define HG26262
|
|
#define HG79266
|
|
#define HG72611
|
|
#define HG72625
|
|
#define HG47991
|
|
#define HG27367
|
|
#define HG72671
|
|
#define HG72729 ss = XP_STRDUP(XP_GetString(XFE_SECURITY_DISABLED));
|
|
#define HG78268
|
|
#define HG78261
|
|
#define HG12675
|
|
#define HG87163
|
|
#define HG78262
|
|
#define HG87268
|
|
#define HG78265
|
|
#define HG87627
|
|
#define HG72721
|
|
#define HG13267
|
|
#define HG87262
|
|
#define HG71265
|
|
#define HG72587
|
|
#define HG87271
|
|
#define HG21989
|
|
#define HG12976
|
|
#define HG87265
|
|
#define HG78272
|
|
#define HG87921
|
|
#define HG72881
|
|
#define HG87111
|
|
#define HG27632
|
|
#define HG87782
|
|
#define HG37211
|
|
#define HG11326
|
|
#define HG72819
|
|
#define HG71199
|
|
#define HG18159
|
|
#define HG28688
|
|
#define HG82160
|
|
#define HG92799
|
|
#define HG28190
|
|
#define HG87291
|
|
#define HG17211
|
|
#define HG01019
|
|
#define HG01283
|
|
#define HG98269
|
|
#define HG91001
|
|
#define HG92179
|
|
#define HG92769
|
|
#define HG98268
|
|
#define HG82688
|
|
#define HG32179
|
|
#define HG82687
|
|
#define HG78277
|
|
#define HG91268
|
|
#define HG10219
|
|
#define HG01092
|
|
#define HG72711
|
|
#define HG78281
|
|
#define HG18181
|
|
#define HG82981
|
|
#define HG87288
|
|
#define HG82111 FALSE
|
|
#define HG92828
|
|
#define HG12821
|
|
#define HG12111
|
|
#define HG82128
|
|
#define HG81210
|
|
#define HG03833
|
|
#define HG12928
|
|
#define HG00298
|
|
#define HG02920
|
|
#define HG02092
|
|
#define HG28999
|
|
#define HG09219
|
|
#define HG89219
|
|
#define HG82198
|
|
#define HG20303 FALSE
|
|
#define HG02023 FALSE
|
|
#define HG39875
|
|
#define HG07326
|
|
#define HG82883
|
|
#define HG20388
|
|
#define HG72988 FALSE
|
|
#define HG17272
|
|
#define HG00288
|
|
#define HG82992
|
|
#define HG28732
|
|
#define HG20931
|
|
#define HG29322
|
|
#define HG29281
|
|
#define HG20363
|
|
#define HG98200
|
|
#define HG71611
|
|
#define HG11111
|
|
#define HG21933
|
|
#define HG28921
|
|
#define HG82872 NULL, NULL
|
|
#define HG72723
|
|
#define HG20192
|
|
#define HG20198
|
|
#define HG35220
|
|
#define HG82811
|
|
#define HG97291
|
|
#define HG12922
|
|
#define HG28182
|
|
#define HG12832
|
|
#define HG20938
|
|
#define HG71710
|
|
#define HG11299
|
|
#define HG10291
|
|
#define HG01922
|
|
#define HG10287
|
|
#define HG10297
|
|
#define HG81272
|
|
#define HG02621
|
|
#define HG19282
|
|
#define HG92727
|
|
#define HG82719
|
|
#define HG21817
|
|
#define HG81761
|
|
#define HG12172
|
|
#define HG10282
|
|
#define HG29081
|
|
#define HG21182
|
|
#define HG02030
|
|
#define HG93649
|
|
#define HG18966
|
|
#define HG27311
|
|
#define HG89217
|
|
#define HG82167
|
|
#define HG21761
|
|
#define HG10280
|
|
#define HG19271
|
|
#define HG10977
|
|
#define HG19711
|
|
#define HG19189
|
|
#define HG71676
|
|
#define HG71851
|
|
#define HG78266
|
|
#define HG18177
|
|
#define HG18760
|
|
#define HG71661
|
|
#define HG90177
|
|
#define HG79299
|
|
#define HG21897 m_port_text
|
|
#define HG17661 m_port_text
|
|
#define HG18261
|
|
#define HG19877
|
|
#define HG19871
|
|
#define HG19773
|
|
#define HG18162
|
|
#define HG13181
|
|
#define HG14871 FALSE
|
|
#define HG19861 FALSE
|
|
#define HG21511
|
|
#define HG19721
|
|
#define HG19511
|
|
#define HG17271
|
|
#define HG18671
|
|
#define HG19616
|
|
#define HG19879
|
|
#define HG17922
|
|
#define HG98219 SetDlgItemInt(IDC_EDIT_PORT_NO, LDAP_PORT);
|
|
#define HG92710
|
|
#define HG27626
|
|
#define HG28981
|
|
#define HG72186
|
|
#define HG92672
|
|
#define HG90271
|
|
#define HG92177
|
|
#define HG98216
|
|
#define HG91761 SetDlgItemInt(IDC_EDIT_PORT_NO, LDAP_PORT);
|
|
|
|
#define HG51387
|
|
#define HG51388
|
|
#define HG51389
|
|
|
|
#define HG43287
|
|
#define HG43288
|
|
|
|
|
|
#define HG91827
|
|
#define HG92380
|
|
#define HG28336
|
|
#define HG02070
|
|
#define HG62519
|
|
|
|
|
|
#define HG09842 FALSE
|
|
#define HG09843 FALSE
|
|
#define HG09844 FALSE
|
|
#define HG09845 f[0] = 0;
|
|
|
|
#define HG09846 \
|
|
PR_Init("mimefilt", 24, 1, 0); \
|
|
RNG_RNGInit(); \
|
|
|
|
#define HG09847
|
|
#define HG09848 "usage: %s [ URL [ -fancy | -no-fancy | -html | -raw | -outline ]]\n"
|
|
#define HG09849
|
|
#define HG09850
|
|
#define HG09851
|
|
#define HG09852
|
|
#define HG09853
|
|
#define HG09854
|
|
#define HG09855
|
|
#define HG09856
|
|
#define HG09857
|
|
#define HG09858
|
|
#define HG09859
|
|
#define HG09860
|
|
#define HG09861
|
|
#define HG09862
|
|
#define HG09863
|
|
#define HG09864
|
|
#define HG09865
|
|
#define HG09866
|
|
#define HG09867
|
|
#define HG09868
|
|
|
|
#define HG09869 \
|
|
/* If we're supposed to write this object, but aren't supposed to convert */ \
|
|
/* it to HTML, simply pass it through unaltered. (But, if we're supposed */ \
|
|
/* to ******* ... uh, do something else.) */ \
|
|
/* */ \
|
|
if (obj->output_p && \
|
|
obj->options && \
|
|
!obj->options->write_html_p && \
|
|
obj->options->output_fn) \
|
|
return MimeObject_write(obj, line, length, TRUE); \
|
|
|
|
|
|
#define HG09870
|
|
#define HG09871
|
|
|
|
#define HG09872 status = MimeHeaders_write_raw_headers(msg->hdrs, obj->options, 0);
|
|
#define HG09873 altform_p = (msg && msg->hdrs);
|
|
|
|
#define HG43771
|
|
#define HG56232 0
|
|
#define HG78388
|
|
#define HG80200
|
|
#define HG88918
|
|
#define HG89321
|
|
#define HG82921
|
|
#define HG82991
|
|
#define HG89202 middle_key = 0;
|
|
#define HG82001 "%s<IMG SRC=\"%s\" BORDER=0>%s"
|
|
#define HG28974
|
|
#define HG87988
|
|
#define HG43290
|
|
#define HG89332 0
|
|
#define HG09878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _ROSETTA_H_ */
|
|
|
|
|
|
|
|
|