Commit c46c55b2 authored by Andrew Hodgkinson's avatar Andrew Hodgkinson
Browse files

Updated Makefile to work better in folding text editors. More or less rewrote

Limits.h, and ensured consistent comment styling throughout all sources.
Fetch.c/h split to Fetch, FetchHTML and URLveneer. URLstat.c/h produced to
cope with this. OpenURL and Find sources created from bits in the Windows
source file that shouldn't have been there... These will get filled out
shortly. Note that a few functions in Fetch are due to be renamed and moved;
probably to Tokenutils.
parent b5ed816d
......@@ -84,4 +84,4 @@ WimpSlot -Min 2048K -Max 2048K
%UnSet ChangeFSI$Dir
|Run <Browse$Dir>.!RunImage -debug CMal,CFle %*0 2> Pipe:$.StdErr
Run <Browse$Dir>.!RunImage %*0
Run <Browse$Dir>.!RunImage -debug Save %*0
......@@ -92,6 +92,12 @@
# AnimDrift - 'yes' or 'no', if 'yes' the status bar animation will drift
# over to the first starting sprite before stopping. Otherwise
# it will stop as soon as the browser is idle.
# SolidResize - 'yes', 'no' or 'always'. If 'yes' frame border resizes will
# be solid, unless the CMOS RAM window solid resize bit is
# clear. If 'no', frame border resizes will not be solid (a
# dashed outline shows what the window sizes are).
# If 'always', the drag is always solid regardless of CMOS
# RAM settings.
# FullScreen - 'yes' or 'no', if 'yes' the window will open full screen,
# else it will open at the default page size.
......@@ -194,7 +200,7 @@ SeleColour:0x00bb0000
FontSize:12
SystemFont:no
DelayImage:no
DelayImage:yes
DisplayBgs:yes
UnderlineLks:yes
OverrideCols:no
......@@ -223,6 +229,7 @@ DefButtonBar:yes
DefStatusBar:yes
MoveGadgets:2
AnimDrift:yes
SolidResize:always
FullScreen:no
HScroll:auto
......
......@@ -5,7 +5,8 @@ Version:1.18 (31-Jul-97)
# Errors, ranked roughly in order of increasing severity
CannotFetch:The browser does not have a method of fetching the requested site.
NotInline:Sorry, can‘t handle this data format (press Enter or click on Continue‘ to continue).
NotInline:Sorry, can‘t handle this data format.
NotInternal:Sorry, can‘t save objects when running in full screen mode.
Refused:Cannot fetch this address as the fetch request was refused by the internal handler.
PrintBusy:The printer is currently busy.
......@@ -45,6 +46,7 @@ FramRcrs:Frames definition references itself recursively; could not proceed with
NoURLleaf:Index
NoURLdata:HTMLfile
NoURLobje:PageObject
# Status bar messages. Putting a '-' in front of one will
# stop a byte counter being appended if the choices lower
......@@ -316,7 +318,7 @@ LockToLine:no
BackOffAt:128
ClientPull:yes
ClientPull:no
# Debugging support - for testing, report inline JavaScript? Report
# unknown function calls? Report illegal parameters to hard coded
......@@ -338,4 +340,5 @@ PEmptyDoc:<HTML><HEAD><TITLE>Empty document</TITLE></HEAD><BODY><H2>The server r
# make sure it's done as '%%'. Then do it again to cope with MessageTrans;
# so for a single %, put four in. Hmph.
PExtImage:<HTML><HEAD><TITLE>%%s</TITLE></HEAD><BODY><FONT SIZE="5"><IMG SRC="%%s" ALIGN="CENTER" ALT="Fetching picture..."></FONT><P>&nbsp;<P><CENTER><B>%s</B><HR WIDTH = 80%%%%><A HREF="!INTRNL!GoBack:Previous Page">Go back to the previous page</A></CENTER></BODY></HTML>
PExtImage:<HTML><HEAD><TITLE>%%s</TITLE></HEAD><BODY><FONT SIZE="5"><IMG SRC="%%s" ALIGN="CENTER" ALT="Fetching picture..."></FONT><P><CENTER><B>%s</B><HR WIDTH = 80%%%%><A HREF="!INTRNL!GoBack:Previous Page">Go back to the previous page</A></CENTER></BODY></HTML>
PExtImNoH:<HTML><HEAD><TITLE>%%s</TITLE></HEAD><BODY><FONT SIZE="5"><IMG SRC="%%s" ALIGN="CENTER" ALT="Fetching picture..."></FONT><P><CENTER><B>%s</B></CENTER></BODY></HTML>
No preview for this file type
No preview for this file type
......@@ -14,10 +14,12 @@
*/
/***************************************************/
/* File : Authorise.c */
/* Purpose: Browser remote authorisation services. */
/* Not called Authenticate.c as this is */
/* more than 10 chars...! */
/* */
/* Purpose: Browser remote authorisation services */
/* (aka. authentication). */
/* */
/* Author : A.D.Hodgkinson */
/* */
/* History: 24-Apr-97: Created. */
/***************************************************/
......@@ -40,7 +42,7 @@
#include "Utils.h"
#include "Browser.h"
#include "Fetch.h"
#include "Fetch.h" /* (Which itself includes URLstat.h) */
#include "Toolbars.h"
#include "URLutils.h"
#include "Windows.h"
......@@ -54,7 +56,7 @@ char * authorise = NULL; /* Flex block to hold authorisation data */
/* Locals */
static ObjectId authorise_dbox = 0;
static char current_realm[128];
static char current_realm[Limits_Realm];
/*************************************************/
/* authorise_create_dialogue */
......@@ -101,8 +103,8 @@ _kernel_oserror * authorise_create_dialogue(void * handle, ObjectId * id)
/* Modify writables if necessary */
{
char username[MaxAuthUser];
char password[MaxAuthPass];
char username[Limits_AuthUserWrit];
char password[Limits_AuthPassWrit];
/* First, the user name writable */
......@@ -179,17 +181,20 @@ ObjectId authorise_return_dialogue_id(void)
int authorise_authorise(int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle)
{
char host [128];
char username[MaxAuthUser];
char password[MaxAuthUser];
browser_data * b = (browser_data *) handle;
char host [Limits_HostName];
char username [Limits_AuthUserWrit];
char password [Limits_AuthPassWrit];
_kernel_oserror * e;
browser_data * b = (browser_data *) handle;
/* Read the user name and password from the authorisation dialogue */
ChkError(writablefield_get_value(0, authorise_dbox, AuthUserWrit, username, sizeof(username), NULL));
ChkError(writablefield_get_value(0, authorise_dbox, AuthPassWrit, password, sizeof(password), NULL));
username[sizeof(username) - 1] = 0;
password[sizeof(password) - 1] = 0;
/* Work out the host name */
urlutils_host_name_from_url(browser_fetch_url(b), host, sizeof(host));
......@@ -560,5 +565,3 @@ void authorise_forget(char * host, char * realm)
}
}
}
/*************************************************/
This diff is collapsed.
......@@ -12,12 +12,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*************************************************/
/* File : Cookies.c */
/* Purpose: Browser-end HTTP Cookie support. */
/* Author : A.D.Hodgkinson */
/* History: 28-Jul-96: Created */
/*************************************************/
/***************************************************/
/* File : Cookies.c */
/* */
/* Purpose: Browser-end HTTP Cookie support. */
/* */
/* Author : A.D.Hodgkinson */
/* */
/* History: 28-Jul-96: Created. */
/***************************************************/
#include <stdlib.h>
#include <stdio.h>
......
This diff is collapsed.
This diff is collapsed.
......@@ -14,11 +14,15 @@
*/
/***************************************************/
/* File : FetchPage.c */
/* Purpose: High-level page fetch related */
/* functions (as opposed to Fetch.c where */
/* all the lower level stuff goes on). */
/* */
/* Purpose: High-level fetch functions; the main */
/* interface for initiating and control- */
/* ling full page fetches. Compare with */
/* lower level Fetch.c and FetchHTML.c. */
/* */
/* Author : A.D.Hodgkinson */
/* History: 25-Nov-96: Created */
/* */
/* History: 25-Nov-96: Created. */
/***************************************************/
#include <stdlib.h>
......@@ -46,7 +50,7 @@
#include "Utils.h"
#include "Browser.h"
#include "Fetch.h"
#include "Fetch.h" /* (Which itself includes URLstat.h) */
#include "Frames.h"
#include "History.h"
#include "Images.h"
......@@ -243,7 +247,7 @@ static _kernel_oserror * fetchpage_process_internal(browser_data * b)
b->displayed == Display_Home_Page
)
{
char alt_url[4096];
char alt_url[Limits_URL];
memset(alt_url, 0, sizeof(alt_url));
......@@ -289,8 +293,8 @@ static _kernel_oserror * fetchpage_process_internal(browser_data * b)
if (url_buffer)
{
#ifdef TRACE
malloccount -= (strlen(url_buffer) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
malloccount -= strlen(url_buffer) + 128;
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_process_internal): \0216%d\0217\n",malloccount);
#endif
free(url_buffer);
......@@ -306,7 +310,7 @@ static _kernel_oserror * fetchpage_process_internal(browser_data * b)
#ifdef TRACE
malloccount += (strlen(alt_url) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_process_internal): \0216%d\0217\n",malloccount);
#endif
/* Copy the new URL into the buffer */
......@@ -423,10 +427,10 @@ static _kernel_oserror * fetchpage_postprocessed(browser_data * b, int record)
_kernel_oserror * e;
#ifdef TRACE
if (tl & (1u<<12)) Printf("fetchpage_postprocessed: Chunk CK_FURL set to %d\n",strlen(url_buffer) + 1);
if (tl & (1u<<12)) Printf("fetchpage_postprocessed: Chunk CK_FURL set to %d\n",strlen(url_buffer) + 128);
#endif
e = memory_set_chunk_size(b, NULL, CK_FURL, strlen(url_buffer) + 1);
e = memory_set_chunk_size(b, NULL, CK_FURL, strlen(url_buffer) + 128);
if (e) return e;
strcpy(b->urlfdata, url_buffer);
......@@ -450,42 +454,24 @@ static _kernel_oserror * fetchpage_postprocessed(browser_data * b, int record)
b->fetch_status = BS_START;
// /* Record the start of the fetch, for a parent browser window. */
//
// if (!b->ancestor)
// {
// _swix(OS_SetVarVal,
// _INR(0,4),
//
// "Browse$CurrentFetch",
// url_buffer,
// strlen(url_buffer),
// 0,
// 4);
// }
/* Record the start of the fetch, for a parent browser window. */
if (!b->ancestor)
{
_swix(OS_SetVarVal,
_INR(0,4),
"Browse$CurrentFetch",
url_buffer,
strlen(url_buffer),
0,
4);
}
/* Register event handlers to start off the new fetch */
if (!b->fetch_handler) fetchpage_claim_nulls(b);
// (Re. the comments at the head of this code)... - No, we don't!
//
// /* The extent settings may change or not; either way, want to */
// /* start off scrolled to the top of the page. */
//
// {
// WimpGetWindowStateBlock s;
//
// e = window_get_wimp_handle(0, b->self_id, &s.window_handle);
// if (e) return e;
//
// e = wimp_get_window_state(&s);
// if (e) return e;
//
// s.yscroll = s.xscroll = 0;
// e = wimp_open_window((WimpOpenWindowBlock *) &s);
// }
return NULL;
}
......@@ -515,14 +501,14 @@ _kernel_oserror * fetchpage_postprocess_uri(browser_data * b, char * uri, int re
if (url_buffer)
{
#ifdef TRACE
malloccount -= (strlen(url_buffer) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
malloccount -= strlen(url_buffer) + 128;
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_postprocess_uri): \0216%d\0217\n",malloccount);
#endif
free(url_buffer);
}
url_buffer = malloc(strlen(uri) + 1);
url_buffer = malloc(strlen(uri) + 128);
if (!url_buffer)
{
......@@ -530,6 +516,11 @@ _kernel_oserror * fetchpage_postprocess_uri(browser_data * b, char * uri, int re
return &erb;
}
#ifdef TRACE
malloccount += (strlen(uri) + 128);
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_postprocess_uri): \0216%d\0217\n",malloccount);
#endif
/* Copy the URI over and fetch it */
strcpy(url_buffer, uri);
......@@ -579,8 +570,8 @@ _kernel_oserror * fetchpage_new(browser_data * b, const char * url, int record,
if (url_buffer)
{
#ifdef TRACE
malloccount -= (strlen(url_buffer) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
malloccount -= strlen(url_buffer) + 128;
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new): \0216%d\0217\n",malloccount);
#endif
free(url_buffer);
......@@ -596,13 +587,21 @@ _kernel_oserror * fetchpage_new(browser_data * b, const char * url, int record,
#ifdef TRACE
malloccount += (strlen(url) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new): \0216%d\0217\n",malloccount);
#endif
strcpy(url_buffer, url);
}
#ifdef TRACE
else Printf("WARNING, used same buffer in fetchpage_new\n");
else
{
erb.errnum = Utils_Error_Custom_Normal;
strcpy(erb.errmess, "Used same buffer in fetchpage_new!");
show_error_ret(&erb);
}
#endif
urlutils_fix_url(url_buffer, strlen(url_buffer) + 128);
......@@ -613,14 +612,14 @@ _kernel_oserror * fetchpage_new(browser_data * b, const char * url, int record,
/*************************************************/
/* fetchpage_new_add() */
/* */
/* As fetchpage_new(), but takes a second */
/* string, which is data to be concatenated onto */
/* the end of the given URL. This may be useful */
/* for imagemaps or forms data. You may also */
/* As fetchpage_new, but takes a second string, */
/* which is data to be concatenated onto the end */
/* of the given URL. This may be useful for */
/* image maps or forms data. You may also */
/* specify whether this URL is to be fetched in */
/* a new browser window or not. */
/* */
/* Restrictions as for fetchpage_new(). */
/* Restrictions as for fetchpage_new. */
/* */
/* Parameters: Pointer to a browser_data struct */
/* to which the new URL refers; */
......@@ -630,7 +629,6 @@ _kernel_oserror * fetchpage_new(browser_data * b, const char * url, int record,
/* 1 to record the previous URL in */
/* the history list, else 0; */
/* */
/* */
/* 1 to stop other page fetches in */
/* any other frames related to this */
/* document, 0 to only stop those in */
......@@ -659,8 +657,8 @@ _kernel_oserror * fetchpage_new_add(browser_data * b, const char * url, int reco
if (url_buffer)
{
#ifdef TRACE
malloccount -= (strlen(url_buffer) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
malloccount -= strlen(url_buffer) + 128;
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new_add): \0216%d\0217\n",malloccount);
#endif
free(url_buffer);
......@@ -676,20 +674,28 @@ _kernel_oserror * fetchpage_new_add(browser_data * b, const char * url, int reco
#ifdef TRACE
malloccount += (strlen(url) + strlen(add) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new_add): \0216%d\0217\n",malloccount);
#endif
strcpy(url_buffer, url);
strcat(url_buffer, add);
}
#ifdef TRACE
else Printf("WARNING, used same buffer in fetchpage_new_add\n");
else
{
erb.errnum = Utils_Error_Custom_Normal;
strcpy(erb.errmess, "Used same buffer in fetchpage_new_add!");
show_error_ret(&erb);
}
#endif
urlutils_fix_url(url_buffer, strlen(url_buffer) + 128);
if (!new_window || b->full_screen) return fetchpage_preprocessed(b, record, stop);
else return windows_create_browser(url_buffer, NULL, NULL, NULL);
else return windows_create_browser(url_buffer, NULL, NULL, NULL, 0);
}
/*************************************************/
......@@ -730,8 +736,8 @@ _kernel_oserror * fetchpage_new_raw(browser_data * b, const char * url, int reco
if (url_buffer)
{
#ifdef TRACE
malloccount -= (strlen(url_buffer) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
malloccount -= strlen(url_buffer) + 128;
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new_raw): \0216%d\0217\n",malloccount);
#endif
free(url_buffer);
......@@ -747,13 +753,21 @@ _kernel_oserror * fetchpage_new_raw(browser_data * b, const char * url, int reco
#ifdef TRACE
malloccount += (strlen(url) + 128);
if (tl & (1u<<13)) Printf("** malloccount: %d\n",malloccount);
if (tl & (1u<<13)) Printf("** malloccount (fetchpage_new_raw): \0216%d\0217\n",malloccount);
#endif
strcpy(url_buffer, url);
}
#ifdef TRACE
else Printf("WARNING, used same buffer in fetchpage_new_raw\n");
else
{
erb.errnum = Utils_Error_Custom_Normal;
strcpy(erb.errmess, "Used same buffer in fetchpage_new_raw!");
show_error_ret(&erb);
}
#endif
return fetchpage_preprocessed(b, record, stop);
......@@ -860,4 +874,3 @@ void fetchpage_release_nulls(browser_data * b)
}
}
/*************************************************/
/* Copyright 1997 Acorn Computers Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/***************************************************/
/* File : Find.c */
/* */
/* Purpose: Functions relating to the Find */
/* dialogue box. */
/* */
/* Author : A.D.Hodgkinson */
/* */
/* History: 17-Apr-97: Created. */
/***************************************************/
#include <stdlib.h>
#include <string.h>
#include "swis.h"
#include "wimp.h"
#include "wimplib.h"
#include "event.h"
#include "toolbox.h"
#include "window.h"
#include "svcprint.h"
#include "Global.h"
#include "TBEvents.h"
#include "Utils.h"
#include "Windows.h"
#include "Find.h"
/*************************************************/
/* find_to_be_shown() */
/* */
/* Called when the EOpenFindWindow event is */
/* generated, typically when the Find window is */
/* about to be shown. Handles any icon */
/* processing commands in the writable. */
/* */
/* Parameters are as standard for a Toolbox */
/* event handler. */
/*************************************************/
int find_to_be_shown(int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle)
{
char text[Limits_FindWrit];
ChkError(windows_process_component_text(idb->self_id, FindWrit, text, sizeof(text), 0, 1));
return 1;
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -12,12 +12,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*************************************************/
/* File : Global.c */
/* Purpose: Holds all of the Browser's globals */
/* Author : A.D.Hodgkinson */
/* History: 12-Nov-96: Created */
/*************************************************/
/***************************************************/
/* File : Global.c */
/* */
/* Purpose: Holds all of the browser's globals. */
/* */
/* Author : A.D.Hodgkinson */
/* */
/* History: 12-Nov-96: Created. */
/***************************************************/
#include "setjmp.h"
......@@ -84,6 +87,7 @@
/* 23 Redraw rectangle display RBox 8388608 */
/* 24 JavaScript functinos JScr 16777216 */
/* 25 Hotlist manager Hotl 33554432 */
/* 26 Save functions Save 67108864 */
/* */
/* To use, put -debug or -d into the command line args */
/* for running !RunImage, followed by a series of comma */
......@@ -100,56 +104,58 @@
#endif
jmp_buf env; /* Used for error handler, so it can jump back to poll look if */
/* the user selects OK rather than Cancel */
jmp_buf env; /* Used for error handler, so it can jump back to poll look if */
/* the user selects OK rather than Cancel */
int quit; /* Set to 1 to indicate a successful exit should occur */
int modechanged; /* Set to 1 immediately after a mode change */
int printing; /* Set to 1 during a printing loop, else 0 */
int printer_message_ref; /* Set when a PrintSave is send, so DataSaveAck is recognised */
int quit; /* Set to 1 to indicate a successful exit should occur */
int modechanged; /* Set to 1 immediately after a mode change */
int printing; /* Set to 1 during a printing loop, else 0 */
int printer_message_ref; /* Set when a PrintSave is send, so DataSaveAck is recognised */
int drag_in_progress; /* Somebody somewhere in the browser is doing a drag operation */
int authorising; /* Set to 1 during authorisation of a fetch (all fetches stop) */
int wimp_version;
int nested_wimp; /* Wimp version, flag to say the nested window manager is */
int task_handle; /* present, Wimp task handle, pointer to sprite block. */
int nested_wimp; /* Wimp version, flag to say the nested window manager is */
int task_handle; /* present, Wimp task handle, pointer to sprite block. */
int sprite_block;
int taskmodule_ds_registered; /* Set to 1 if the dialler status service call is being watched */
int uri_module_present; /* Set to 1 if the URI module is present and may be used */
int taskmodule_ds_registered; /* Set to 1 if the dialler status service call is being watched */
int uri_module_present; /* Set to 1 if the URI module is present and may be used */
MessagesFD meb; /* MessageTrans Messages file control block */
MessagesFD * chb; /* MessageTrans Choices file control block */
char tokens[MaxMsgLen]; /* lookup_token/choice() puts looked up data in here */
char lasttokn[MaxLstLen]; /* The last token looked up is stored here for future reference */
MessagesFD meb; /* MessageTrans Messages file control block */
MessagesFD * chb; /* MessageTrans Choices file control block */
char tokens [Limits_Message]; /* lookup_token/choice puts looked up data in here */
char lasttokn [Limits_Token]; /* The last token looked up is stored here for future reference */
int messages_list[] = {0};
int messages_list [] = {0};
IdBlock idb; /* For all Toolbox-registered event handlers */
int event_code_list[] = {0};
IdBlock idb; /* For all Toolbox-registered event handlers */
int event_code_list [] = {0};
WimpPollBlock b; /* For Toolbox-registered Wimp event handlers */
WimpPollBlock b; /* For Toolbox-registered Wimp event handlers */
int null_counter; /* When zero, null events will be disabled, else enabled. For */
/* each time something wants to claim nulls, it increments this */
/* and decrements it when finished */
int bullets; /* Number of bullet sprites available */
unsigned int animation_frames; /* Holds the number of animation frames in the Sprites file */
int null_counter; /* When zero, null events will be disabled, else enabled. For */
/* each time something wants to claim nulls, it increments this */
/* and decrements it when finished */
int bullets; /* Number of bullet sprites available */
unsigned int animation_frames; /* Holds the number of animation frames in the Sprites file */
browser_data * last_browser; /* Points to the last browser_data structure in the linked list */
/* of structures associated with all browser windows, or NULL */
/* there are no browser windows. The structure is defined in */
/* Global.h */
browser_data * highlight_frame = NULL; /* The currently highlighted frame (if any) */
browser_data * last_browser; /* Points to the last browser_data structure in the linked list */
/* of structures associated with all browser windows, or NULL */
/* there are no browser windows. The structure is defined in */
/* Global.h */
browser_data * highlight_frame = NULL; /* The currently highlighted frame (if any) */
global_choices choices; /* To store [temporary] global choices (from the Choices file) */
fixed_choices fixed; /* To store fixed choices (from the Messages file) */
global_choices choices; /* To store [temporary] global choices (from the Choices file) */
fixed_choices fixed; /* To store fixed choices (from the Messages file) */
char program_name[MaxPrgLen]; /* _TaskName token contents put in here, for the flex library */
char program_name[Limits_TaskName]; /* _TaskName token contents put in here, for the flex library */
_kernel_oserror erb; /* Global error block for custom errors */
_kernel_oserror erb; /* Global error block for custom errors */
menu_source menusrc = Menu_None; /* For Wimp menus - opened from forms, from history icons, etc. */
void * menuhdl; /* For any extra info needed with a menu */
menu_source menusrc = Menu_None; /* For Wimp menus - opened from forms, from history icons, etc. */
void * menuhdl; /* For any extra info needed with a menu */
#ifndef SINGLE_USER
userdef user; /* For multiuser builds, holds details of the current user */
userdef user; /* For multiuser builds, holds details of the current user */
#endif
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment