~ubuntu-branches/ubuntu/natty/edbrowse/natty

« back to all changes in this revision

Viewing changes to src/eb.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-11-29 12:06:07 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101129120607-murkfny32efpr1nx
Tags: 3.4.5-0ubuntu1
* New upstream release
* Convert to source format 3.0
  - add debian/format/source
* Update for xulrunner-2.0
  - update debian/control
  - add debian/patches/spidermonkey-2.0.patch for the JSNative changes
  - add debian/patches/series
* Don't call the xulrunner binary to find libmozjs
  - update debian/edbrowse.sh
* Pass -lcrypto and -lreadline to the linker
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <unistd.h>
38
38
#endif
39
39
 
 
40
#include "jsapi.h"
40
41
#include "tcp.h"
41
42
 
42
43
#ifndef O_BINARY
165
166
    char *login, *password, *from, *reply;
166
167
    char *inurl, *outurl;
167
168
    int inport, outport;
168
 
    bool inssl, outssl;
 
169
    uchar inssl, outssl;
169
170
};
170
171
 
171
172
struct MIMETYPE {
178
179
    char *name, *shortname;
179
180
    char *cols[MAXTCOLS];
180
181
    char ncols;
181
 
    unsigned char key1, key2, key3;
 
182
    unsigned char key1, key2, key3, key4;
182
183
    char *types;
 
184
    char *nullable;
183
185
};
184
186
 
185
187
/* various globals */
186
188
extern CURL *curl_handle;
187
189
extern int debugLevel;          /* 0 to 9 */
 
190
extern int displayLength;       /* when printing a line */
188
191
extern int webTimeout, mailTimeout;
189
192
extern int browseLine;          /* line number, for error reporting */
190
193
extern bool ismc;               /* Is the program running as a mail client? */
202
205
extern bool isInteractive;
203
206
extern volatile bool intFlag;   /* set this when interrupt signal is caught */
204
207
extern bool binaryDetect;
 
208
extern bool inputReadLine;
205
209
extern bool listNA;             /* list nonascii chars */
206
210
extern bool inInput;            /* reading line from standard in */
207
211
extern int fileSize;            /* when reading/writing files */
210
214
extern int hcode;               /* http code, like 404 file not found */
211
215
extern char herror[];           /* html error */
212
216
extern char errorMsg[];         /* generated error message */
213
 
extern char serverLine[MAXTTYLINE];     /* lines to and from the mail server */
 
217
extern char serverLine[];       /* lines to and from the mail server */
214
218
extern void *jcx;               /* javascript context */
215
219
extern void *jwin;              /* javascript window object */
216
220
extern void *jdoc;              /* javascript document object */
225
229
extern char *dbarea, *dblogin, *dbpw;   /* to log into the database */
226
230
extern bool fetchBlobColumns;
227
231
extern char *proxy_host;
228
 
extern int proxy_port;
229
232
extern bool caseInsensitive, searchStringsAll;
230
233
extern bool undoable;           /* an undoable operation is taking place */
231
234
extern bool allowRedirection;   /* from http code 301, or http refresh */