|
|
| version 1.1, 2025/01/19 02:04:04 | version 1.4, 2025/03/09 19:50:47 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | * ^$GLOBAL ssvn |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * ssvn_global.c | |
| * ^$GLOBAL ssv | |
| * | * |
| * | * |
| * Author: Serena Willis <jpw@coherent-logic.com> | * Author: Serena Willis <snw@coherent-logic.com> |
| * Copyright (C) 1998 MUG Deutschland | * Copyright (C) 1998 MUG Deutschland |
| * Copyright (C) 2020 Coherent Logic Development LLC | * Copyright (C) 2020, 2025 Coherent Logic Development LLC |
| * | * |
| * | * |
| * This file is part of FreeM. | * This file is part of FreeM. |
| Line 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.4 2025/03/09 19:50:47 snw | |
| * Second phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #include <stdio.h> | #include <stdio.h> |
| Line 230 void ssvn_global(short action, char *key | Line 225 void ssvn_global(short action, char *key |
| goto done; | goto done; |
| } | } |
| sprintf (data, "%d\201", bi->blockcount); | sprintf (data, "%ld\201", bi->blockcount); |
| merr_raise (OK); | merr_raise (OK); |
| goto done; | goto done; |
| } | } |
| Line 253 void ssvn_global(short action, char *key | Line 248 void ssvn_global(short action, char *key |
| } | } |
| sprintf (data, "%d\201", bi->rlptr); | sprintf (data, "%ld\201", bi->rlptr); |
| merr_raise (OK); | merr_raise (OK); |
| goto done; | goto done; |
| } | } |
| Line 264 void ssvn_global(short action, char *key | Line 259 void ssvn_global(short action, char *key |
| goto done; | goto done; |
| } | } |
| sprintf (data, "%d\201", bi->free_offset); | sprintf (data, "%ld\201", bi->free_offset); |
| merr_raise (OK); | merr_raise (OK); |
| goto done; | goto done; |
| } | } |
| Line 275 void ssvn_global(short action, char *key | Line 270 void ssvn_global(short action, char *key |
| goto done; | goto done; |
| } | } |
| sprintf (data, "%d\201", bi->llptr); | sprintf (data, "%ld\201", bi->llptr); |
| merr_raise (OK); | merr_raise (OK); |
| goto done; | goto done; |
| } | } |