lnlink

iOS app for connecting to lightning nodes
git clone git://jb55.com/lnlink
Log | Files | Refs | Submodules | README | LICENSE

lightninglink.c (268B)


      1 //
      2 //  lightninglink.c
      3 //  lightninglink
      4 //
      5 //  Created by William Casarin on 2022-01-07.
      6 //
      7 
      8 #include "lightninglink.h"
      9 #include <sys/select.h>
     10 
     11 
     12 void fd_do_set(int socket, fd_set *set) {
     13     FD_SET(socket, set);
     14 }
     15 
     16 void fd_do_zero(fd_set *set) {
     17     FD_ZERO(set);
     18 }