From 6787ee78415aa4cedfad87063878aeccd5402ebb Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 20 Feb 2020 15:35:16 +0000 Subject: [PATCH] updated copyright years. attempting to support dns over tcp --- mio/bin/execd.c | 2 +- mio/bin/t01.c | 2 +- mio/lib/dns.c | 73 +++++++++++++++++++++------------------------- mio/lib/err.c | 2 +- mio/lib/fmt-imp.h | 2 +- mio/lib/fmt.c | 2 +- mio/lib/mio-cmn.h | 2 +- mio/lib/mio-dns.h | 5 ++-- mio/lib/mio-fmt.h | 2 +- mio/lib/mio-nwif.h | 2 +- mio/lib/mio-pac1.h | 2 +- mio/lib/mio-pro.h | 2 +- mio/lib/mio-prv.h | 2 +- mio/lib/mio-sck.h | 2 +- mio/lib/mio-skad.h | 2 +- mio/lib/mio-sys.h | 2 +- mio/lib/mio-upac.h | 2 +- mio/lib/mio-utl.h | 2 +- mio/lib/mio.c | 2 +- mio/lib/mio.h | 2 +- mio/lib/nwif.c | 2 +- mio/lib/pro.c | 2 +- mio/lib/sck.c | 2 +- mio/lib/skad.c | 2 +- mio/lib/sys-ass.c | 2 +- mio/lib/sys-err.c | 2 +- mio/lib/sys-log.c | 2 +- mio/lib/sys-mux.c | 2 +- mio/lib/sys-tim.c | 2 +- mio/lib/sys.c | 2 +- mio/lib/tmr.c | 2 +- mio/lib/utf8.c | 2 +- mio/lib/utl.c | 2 +- 33 files changed, 67 insertions(+), 73 deletions(-) diff --git a/mio/bin/execd.c b/mio/bin/execd.c index 2f03ad4..08dc3c9 100644 --- a/mio/bin/execd.c +++ b/mio/bin/execd.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/bin/t01.c b/mio/bin/t01.c index bcabda1..d8358e5 100644 --- a/mio/bin/t01.c +++ b/mio/bin/t01.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/dns.c b/mio/lib/dns.c index 8cf9eee..67b4bd0 100644 --- a/mio/lib/dns.c +++ b/mio/lib/dns.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -41,7 +41,8 @@ struct mio_svc_dnc_t MIO_SVC_HEADERS; /*MIO_DNS_SVC_HEADERS;*/ - mio_dev_sck_t* sck; + mio_dev_sck_t* udp_sck; + mio_dev_sck_t* tcp_sck; mio_skad_t serv_addr; mio_ntime_t send_tmout; @@ -165,7 +166,7 @@ static mio_dns_msg_t* build_dns_msg (mio_svc_dnc_t* dnc, mio_dns_bhdr_t* bdns, m } msgxtn = dnc_dns_msg_getxtn(msg); - msgxtn->dev = (mio_dev_t*)dnc->sck; + msgxtn->dev = (mio_dev_t*)dnc->udp_sck; msgxtn->rtmridx = MIO_TMRIDX_INVALID; } @@ -213,8 +214,7 @@ MIO_DEBUG1 (mio, "releasing dns msg %d\n", (int)mio_ntoh16(mio_dns_msg_to_pkt(ms mio_dns_free_msg (dnc->mio, msg); } - -static int dnc_on_read (mio_dev_sck_t* dev, const void* data, mio_iolen_t dlen, const mio_skad_t* srcaddr) +static int on_udp_read (mio_dev_sck_t* dev, const void* data, mio_iolen_t dlen, const mio_skad_t* srcaddr) { mio_t* mio = dev->mio; mio_svc_dnc_t* dnc = ((dnc_sck_xtn_t*)mio_dev_sck_getxtn(dev))->dnc; @@ -238,23 +238,29 @@ static int dnc_on_read (mio_dev_sck_t* dev, const void* data, mio_iolen_t dlen, /* if id doesn't match one of the pending requests sent, drop it */ -/* TODO: improve performance */ +/* TODO: improve performance of dns response matching*/ reqmsg = dnc->pending_req; while (reqmsg) { mio_dns_pkt_t* reqpkt = mio_dns_msg_to_pkt(reqmsg); - dnc_dns_msg_xtn_t* msgxtn = dnc_dns_msg_getxtn(reqmsg); + dnc_dns_msg_xtn_t* reqmsgxtn = dnc_dns_msg_getxtn(reqmsg); - if (dev == (mio_dev_sck_t*)msgxtn->dev && pkt->id == reqpkt->id && mio_equal_skads(&msgxtn->servaddr, srcaddr, 0)) + if (dev == (mio_dev_sck_t*)reqmsgxtn->dev && pkt->id == reqpkt->id && mio_equal_skads(&reqmsgxtn->servaddr, srcaddr, 0)) { + if (pkt->tc) /* truncated */ + { + /* TODO: add an option for this behavior */ + /* TODO: switch to tc ... send the same request over tcp... */ + } + MIO_DEBUG1 (mio, "received dns response...id %d\n", id); - if (MIO_LIKELY(msgxtn->on_reply)) - msgxtn->on_reply (dnc, reqmsg, MIO_ENOERR, data, dlen); + if (MIO_LIKELY(reqmsgxtn->on_reply)) + reqmsgxtn->on_reply (dnc, reqmsg, MIO_ENOERR, data, dlen); release_dns_msg (dnc, reqmsg); return 0; } - reqmsg = msgxtn->next; + reqmsg = reqmsgxtn->next; } /* the response id didn't match the ID of pending requests - need to wait longer? */ @@ -262,7 +268,7 @@ MIO_DEBUG1 (mio, "unknown dns response... %d\n", pkt->id); /* TODO: add source i return 0; } -static void dnc_on_reply_timeout (mio_t* mio, const mio_ntime_t* now, mio_tmrjob_t* job) +static void on_udp_reply_timeout (mio_t* mio, const mio_ntime_t* now, mio_tmrjob_t* job) { mio_dns_msg_t* reqmsg = (mio_dns_msg_t*)job->ctx; dnc_dns_msg_xtn_t* msgxtn = dnc_dns_msg_getxtn(reqmsg); @@ -277,7 +283,7 @@ MIO_DEBUG0 (mio, "*** TIMEOUT ==> unable to receive dns response in time...\n"); mio_ntime_t* tmout; tmout = MIO_IS_POS_NTIME(&msgxtn->wtmout)? &msgxtn->wtmout: MIO_NULL; - if (mio_dev_sck_timedwrite(dnc->sck, mio_dns_msg_to_pkt(reqmsg), reqmsg->pktlen, tmout, reqmsg, &msgxtn->servaddr) <= -1) + if (mio_dev_sck_timedwrite(dnc->udp_sck, mio_dns_msg_to_pkt(reqmsg), reqmsg->pktlen, tmout, reqmsg, &msgxtn->servaddr) <= -1) { if (MIO_LIKELY(msgxtn->on_reply)) msgxtn->on_reply (dnc, reqmsg, MIO_ETMOUT, MIO_NULL, 0); @@ -297,7 +303,7 @@ printf (">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RESENT REQUEST >>>>>>>>>>>>>>>> } -static int dnc_on_write (mio_dev_sck_t* dev, mio_iolen_t wrlen, void* wrctx, const mio_skad_t* dstaddr) +static int on_udp_write (mio_dev_sck_t* dev, mio_iolen_t wrlen, void* wrctx, const mio_skad_t* dstaddr) { mio_t* mio = dev->mio; mio_dns_msg_t* msg = (mio_dns_msg_t*)wrctx; @@ -324,7 +330,7 @@ MIO_DEBUG1 (mio, "sent dns message %d\n", (int)mio_ntoh16(mio_dns_msg_to_pkt(msg tmrjob.ctx = msg; mio_gettime (mio, &tmrjob.when); MIO_ADD_NTIME (&tmrjob.when, &tmrjob.when, &msgxtn->rtmout); - tmrjob.handler = dnc_on_reply_timeout; + tmrjob.handler = on_udp_reply_timeout; tmrjob.idxptr = &msgxtn->rtmridx; msgxtn->rtmridx = mio_instmrjob(mio, &tmrjob); if (msgxtn->rtmridx == MIO_TMRIDX_INVALID) @@ -360,11 +366,11 @@ MIO_DEBUG1 (mio, "sent dns message %d\n", (int)mio_ntoh16(mio_dns_msg_to_pkt(msg return 0; } -static void dnc_on_connect (mio_dev_sck_t* dev) +static void on_udp_connect (mio_dev_sck_t* dev) { } -static void dnc_on_disconnect (mio_dev_sck_t* dev) +static void on_udp_disconnect (mio_dev_sck_t* dev) { } @@ -399,14 +405,14 @@ mio_svc_dnc_t* mio_svc_dnc_start (mio_t* mio, const mio_skad_t* serv_addr, const mio_seterrnum (mio, MIO_EINVAL); goto oops; } - mkinfo.on_write = dnc_on_write; - mkinfo.on_read = dnc_on_read; - mkinfo.on_connect = dnc_on_connect; - mkinfo.on_disconnect = dnc_on_disconnect; - dnc->sck = mio_dev_sck_make(mio, MIO_SIZEOF(*xtn), &mkinfo); - if (!dnc->sck) goto oops; + mkinfo.on_write = on_udp_write; + mkinfo.on_read = on_udp_read; + mkinfo.on_connect = on_udp_connect; + mkinfo.on_disconnect = on_udp_disconnect; + dnc->udp_sck = mio_dev_sck_make(mio, MIO_SIZEOF(*xtn), &mkinfo); + if (!dnc->udp_sck) goto oops; - xtn = (dnc_sck_xtn_t*)mio_dev_sck_getxtn(dnc->sck); + xtn = (dnc_sck_xtn_t*)mio_dev_sck_getxtn(dnc->udp_sck); xtn->dnc = dnc; if (bind_addr) /* TODO: get mio_dev_sck_bind_t? instead of bind_addr? */ @@ -414,7 +420,7 @@ mio_svc_dnc_t* mio_svc_dnc_start (mio_t* mio, const mio_skad_t* serv_addr, const mio_dev_sck_bind_t bi; MIO_MEMSET (&bi, 0, MIO_SIZEOF(bi)); bi.localaddr = *bind_addr; - if (mio_dev_sck_bind(dnc->sck, &bi) <= -1) goto oops; + if (mio_dev_sck_bind(dnc->udp_sck, &bi) <= -1) goto oops; } MIO_SVC_REGISTER (mio, (mio_svc_t*)dnc); @@ -423,7 +429,7 @@ mio_svc_dnc_t* mio_svc_dnc_start (mio_t* mio, const mio_skad_t* serv_addr, const oops: if (dnc) { - if (dnc->sck) mio_dev_sck_kill (dnc->sck); + if (dnc->udp_sck) mio_dev_sck_kill (dnc->udp_sck); mio_freemem (mio, dnc); } return MIO_NULL; @@ -432,7 +438,7 @@ oops: void mio_svc_dnc_stop (mio_svc_dnc_t* dnc) { mio_t* mio = dnc->mio; - if (dnc->sck) mio_dev_sck_kill (dnc->sck); + if (dnc->udp_sck) mio_dev_sck_kill (dnc->udp_sck); MIO_SVC_UNREGISTER (mio, dnc); while (dnc->pending_req) release_dns_msg (dnc, dnc->pending_req); mio_freemem (mio, dnc); @@ -459,7 +465,7 @@ mio_dns_msg_t* mio_svc_dnc_sendmsg (mio_svc_dnc_t* dnc, mio_dns_bhdr_t* bdns, mi /* TODO: optionally, override dnc->serv_addr and use the target address passed as a parameter */ tmout = MIO_IS_POS_NTIME(&msgxtn->wtmout)? &msgxtn->wtmout: MIO_NULL; - if (mio_dev_sck_timedwrite(dnc->sck, mio_dns_msg_to_pkt(msg), msg->pktlen, tmout, msg, &msgxtn->servaddr) <= -1) + if (mio_dev_sck_timedwrite(dnc->udp_sck, mio_dns_msg_to_pkt(msg), msg->pktlen, tmout, msg, &msgxtn->servaddr) <= -1) { release_dns_msg (dnc, msg); return MIO_NULL; @@ -504,17 +510,6 @@ static void on_dnc_resolve (mio_svc_dnc_t* dnc, mio_dns_msg_t* reqmsg, mio_errnu mio_dns_pkt_info_t* pi = MIO_NULL; dnc_dns_msg_resolve_xtn_t* reqmsgxtn = dnc_dns_msg_resolve_getxtn(reqmsg); - if (data) - { - MIO_ASSERT (mio, dlen >= MIO_SIZEOF(*pkt)); /* this is guaranteed by the dnc_on_read() */ - - pkt = (mio_dns_pkt_t*)data; - if (pkt->tc && (reqmsgxtn->flags & MIO_SVC_DNC_RESOLVE_FLAG_TCP_IF_TC)) /* truncated */ - { - /* TODO: */ - } - } - if (!(reqmsgxtn->flags & MIO_SVC_DNC_RESOLVE_FLAG_BRIEF)) { /* the full reply packet is requested. no transformation is required */ diff --git a/mio/lib/err.c b/mio/lib/err.c index 773dfbe..81f0534 100644 --- a/mio/lib/err.c +++ b/mio/lib/err.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/fmt-imp.h b/mio/lib/fmt-imp.h index 3a94dc1..0d146fc 100644 --- a/mio/lib/fmt-imp.h +++ b/mio/lib/fmt-imp.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/fmt.c b/mio/lib/fmt.c index 7211ff1..b2c7717 100644 --- a/mio/lib/fmt.c +++ b/mio/lib/fmt.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2014-2018 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-cmn.h b/mio/lib/mio-cmn.h index debe95b..ebbdd41 100644 --- a/mio/lib/mio-cmn.h +++ b/mio/lib/mio-cmn.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-dns.h b/mio/lib/mio-dns.h index 68560be..f7e8348 100644 --- a/mio/lib/mio-dns.h +++ b/mio/lib/mio-dns.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -392,8 +392,7 @@ typedef void (*mio_svc_dnc_on_resolve_t) ( enum mio_svc_dnc_resolve_flag_t { - MIO_SVC_DNC_RESOLVE_FLAG_BRIEF = (1 << 0), - MIO_SVC_DNC_RESOLVE_FLAG_TCP_IF_TC = (1 << 1) + MIO_SVC_DNC_RESOLVE_FLAG_BRIEF = (1 << 0) }; typedef enum mio_svc_dnc_resolve_flag_t mio_svc_dnc_resolve_flag_t; diff --git a/mio/lib/mio-fmt.h b/mio/lib/mio-fmt.h index 8c8c7e7..a664564 100644 --- a/mio/lib/mio-fmt.h +++ b/mio/lib/mio-fmt.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-nwif.h b/mio/lib/mio-nwif.h index b53a75f..94d03d9 100644 --- a/mio/lib/mio-nwif.h +++ b/mio/lib/mio-nwif.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-pac1.h b/mio/lib/mio-pac1.h index 1fbaedc..95a00cc 100644 --- a/mio/lib/mio-pac1.h +++ b/mio/lib/mio-pac1.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-pro.h b/mio/lib/mio-pro.h index 091c0f2..3b76451 100644 --- a/mio/lib/mio-pro.h +++ b/mio/lib/mio-pro.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-prv.h b/mio/lib/mio-prv.h index fb839bf..ffbc572 100644 --- a/mio/lib/mio-prv.h +++ b/mio/lib/mio-prv.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-sck.h b/mio/lib/mio-sck.h index 5c215cd..c78e7bf 100644 --- a/mio/lib/mio-sck.h +++ b/mio/lib/mio-sck.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-skad.h b/mio/lib/mio-skad.h index da1729f..dd2652f 100644 --- a/mio/lib/mio-skad.h +++ b/mio/lib/mio-skad.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-sys.h b/mio/lib/mio-sys.h index 469b3c1..7d1dde6 100644 --- a/mio/lib/mio-sys.h +++ b/mio/lib/mio-sys.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-upac.h b/mio/lib/mio-upac.h index 4110955..c65db74 100644 --- a/mio/lib/mio-upac.h +++ b/mio/lib/mio-upac.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio-utl.h b/mio/lib/mio-utl.h index 0458bd5..a17e722 100644 --- a/mio/lib/mio-utl.h +++ b/mio/lib/mio-utl.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2014-2018 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio.c b/mio/lib/mio.c index 1ef268c..199b2ce 100644 --- a/mio/lib/mio.c +++ b/mio/lib/mio.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/mio.h b/mio/lib/mio.h index 11560ff..a8e66d6 100644 --- a/mio/lib/mio.h +++ b/mio/lib/mio.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/nwif.c b/mio/lib/nwif.c index a7b520d..e882d26 100644 --- a/mio/lib/nwif.c +++ b/mio/lib/nwif.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/pro.c b/mio/lib/pro.c index 63ce5a5..94703de 100644 --- a/mio/lib/pro.c +++ b/mio/lib/pro.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sck.c b/mio/lib/sck.c index 6186564..ba146b0 100644 --- a/mio/lib/sck.c +++ b/mio/lib/sck.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/skad.c b/mio/lib/skad.c index 50a5414..b96c8cc 100644 --- a/mio/lib/skad.c +++ b/mio/lib/skad.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys-ass.c b/mio/lib/sys-ass.c index f66f22b..531a0b2 100644 --- a/mio/lib/sys-ass.c +++ b/mio/lib/sys-ass.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys-err.c b/mio/lib/sys-err.c index 276c279..48bffc9 100644 --- a/mio/lib/sys-err.c +++ b/mio/lib/sys-err.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys-log.c b/mio/lib/sys-log.c index 4870aee..1c5e642 100644 --- a/mio/lib/sys-log.c +++ b/mio/lib/sys-log.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys-mux.c b/mio/lib/sys-mux.c index 70b3ea0..89e7056 100644 --- a/mio/lib/sys-mux.c +++ b/mio/lib/sys-mux.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys-tim.c b/mio/lib/sys-tim.c index 3b1c017..b43d7e6 100644 --- a/mio/lib/sys-tim.c +++ b/mio/lib/sys-tim.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/sys.c b/mio/lib/sys.c index d33445e..aa0f896 100644 --- a/mio/lib/sys.c +++ b/mio/lib/sys.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/tmr.c b/mio/lib/tmr.c index f3b148e..9db7c73 100644 --- a/mio/lib/tmr.c +++ b/mio/lib/tmr.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/utf8.c b/mio/lib/utf8.c index 3d4d8ff..a654f39 100644 --- a/mio/lib/utf8.c +++ b/mio/lib/utf8.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/mio/lib/utl.c b/mio/lib/utl.c index 903ed19..8a252eb 100644 --- a/mio/lib/utl.c +++ b/mio/lib/utl.c @@ -1,7 +1,7 @@ /*m * $Id$ * - Copyright (c) 2015-2016 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2016-2020 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions