view src/libssh2-test.c @ 6340:720a837ff693 release

add libmodbus * src/libmodbus.mk: new file * dist-files.mk, index.html: add ref to new file (grafted from 502fc27d1aacc71dfa403399d08da556d1f9be93)
author John Donoghue <john.donoghue@ieee.org>
date Thu, 30 Jun 2022 15:15:27 -0400
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <stdio.h>
#include <libssh2.h>

int main(int argc, char *argv[])
{
    (void)argc;
    (void)argv;
    libssh2_init(0);
    printf("libssh2 version: %s", libssh2_version(0) );
    libssh2_exit();
    return 0;
}