Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
9aa2455e
Commit
9aa2455e
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
More const
parent
ca07d6c3
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/odoors/ODCore.c
+1
-1
1 addition, 1 deletion
src/odoors/ODCore.c
src/odoors/ODScrn.c
+3
-3
3 additions, 3 deletions
src/odoors/ODScrn.c
src/odoors/ODScrn.h
+2
-2
2 additions, 2 deletions
src/odoors/ODScrn.h
src/odoors/OpenDoor.h
+2
-2
2 additions, 2 deletions
src/odoors/OpenDoor.h
with
8 additions
and
8 deletions
src/odoors/ODCore.c
+
1
−
1
View file @
9aa2455e
...
...
@@ -851,7 +851,7 @@ ODAPIDEF void ODCALL od_disp(char *pachBuffer, INT nSize, BOOL bLocalEcho)
*
* Return: void
*/
ODAPIDEF
void
ODCALL
od_disp_str
(
char
*
pszToDisplay
)
ODAPIDEF
void
ODCALL
od_disp_str
(
const
char
*
pszToDisplay
)
{
/* Log function entry if running in trace mode */
TRACE
(
TRACE_API
,
"od_disp_str()"
);
...
...
This diff is collapsed.
Click to expand it.
src/odoors/ODScrn.c
+
3
−
3
View file @
9aa2455e
...
...
@@ -1854,7 +1854,7 @@ BOOL ODScrnPutText(BYTE btLeft, BYTE btTop, BYTE btRight, BYTE btBottom,
*
* Return: void.
*/
void
ODScrnDisplayString
(
char
*
pszString
)
void
ODScrnDisplayString
(
const
char
*
pszString
)
{
ODScrnDisplayBuffer
(
pszString
,
strlen
(
pszString
));
}
...
...
@@ -1875,9 +1875,9 @@ void ODScrnDisplayString(char *pszString)
*
* Return: void.
*/
void
ODScrnDisplayBuffer
(
char
*
pBuffer
,
INT
nCharsToDisplay
)
void
ODScrnDisplayBuffer
(
const
char
*
pBuffer
,
INT
nCharsToDisplay
)
{
char
*
pchCurrentChar
=
pBuffer
;
const
char
*
pchCurrentChar
=
pBuffer
;
INT
nCharsLeft
=
nCharsToDisplay
;
BYTE
ODFAR
*
pDest
;
BYTE
btLeftColumn
;
...
...
This diff is collapsed.
Click to expand it.
src/odoors/ODScrn.h
+
2
−
2
View file @
9aa2455e
...
...
@@ -62,8 +62,8 @@ void ODScrnShutdown(void);
/* Basic text output functions. */
void
ODScrnDisplayChar
(
unsigned
char
chToOutput
);
void
ODScrnDisplayBuffer
(
char
*
pBuffer
,
INT
nCharsToDisplay
);
void
ODScrnDisplayString
(
char
*
pszString
);
void
ODScrnDisplayBuffer
(
const
char
*
pBuffer
,
INT
nCharsToDisplay
);
void
ODScrnDisplayString
(
const
char
*
pszString
);
INT
ODScrnPrintf
(
char
*
pszFormat
,
...);
/* Functions for manipulating rectangular areas of the screen buffer. */
...
...
This diff is collapsed.
Click to expand it.
src/odoors/OpenDoor.h
+
2
−
2
View file @
9aa2455e
...
...
@@ -720,7 +720,7 @@ typedef struct
char
od_cfg_text
[
48
][
33
];
char
od_cfg_lines
[
25
][
33
];
OD_COMPONENT
*
od_config_file
;
c
har
*
od_config_filename
;
c
onst
char
*
od_config_filename
;
void
(
*
od_config_function
)(
char
*
keyword
,
char
*
options
);
char
od_color_char
;
char
od_color_delimiter
;
...
...
@@ -961,7 +961,7 @@ ODAPIDEF BYTE ODCALL od_color_config(char *pszColorDesc);
ODAPIDEF
tODControl
*
ODCALL
od_control_get
(
void
);
ODAPIDEF
void
ODCALL
od_disp
(
char
*
pachBuffer
,
INT
nSize
,
BOOL
bLocalEcho
);
ODAPIDEF
void
ODCALL
od_disp_emu
(
char
*
pszToDisplay
,
BOOL
bRemoteEcho
);
ODAPIDEF
void
ODCALL
od_disp_str
(
char
*
pszToDisplay
);
ODAPIDEF
void
ODCALL
od_disp_str
(
const
char
*
pszToDisplay
);
ODAPIDEF
BOOL
ODCALL
od_draw_box
(
BYTE
btLeft
,
BYTE
btTop
,
BYTE
btRight
,
BYTE
btBottom
);
ODAPIDEF
WORD
ODCALL
od_edit_str
(
char
*
pszInput
,
char
*
pszFormat
,
INT
nRow
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment