|
|
| version 1.1, 2025/01/19 02:04:04 | version 1.5, 2025/04/09 19:52:02 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * ssvn_object.c | |
| * ^$OBJECT SSVN implementation | * ^$OBJECT SSVN implementation |
| * | * |
| * | * |
| * 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) 2023 Coherent Logic Development LLC | * Copyright (C) 2023, 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.5 2025/04/09 19:52:02 snw | |
| * Eliminate as many warnings as possible while building with -Wall | |
| * | |
| * Revision 1.4 2025/03/24 04:13:11 snw | |
| * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 | |
| * | |
| * Revision 1.3 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 <stdlib.h> | #include <stdlib.h> |
| #include <string.h> | #include <string.h> |
| #include <stdio.h> | #include <stdio.h> |
| Line 47 | Line 49 |
| void ssvn_object(short action, char *key, char *data) | void ssvn_object(short action, char *key, char *data) |
| { | { |
| char t_key[STRLEN]; | |
| char t_data[STRLEN]; | |
| freem_ref_t *r; | freem_ref_t *r; |
| r = (freem_ref_t *) malloc (sizeof (freem_ref_t)); | r = (freem_ref_t *) malloc (sizeof (freem_ref_t)); |
| Line 62 void ssvn_object(short action, char *key | Line 61 void ssvn_object(short action, char *key |
| case fra_order: | case fra_order: |
| case fra_query: | case fra_query: |
| case dat: | case fra_dat: |
| case bigquery: | case bigquery: |
| case get_sym: | case get_sym: |
| symtab (action, key, data); | symtab (action, key, data); |