Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrapped function with C++14 and repackaged with VS2022 #3

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c09d1f5
Upgrade the toolset to VS2022 and add 64 bit support
GsoyG Nov 19, 2023
78023d2
Split main function
GsoyG Nov 19, 2023
99b025f
Merge ToolBox.h
GsoyG Nov 19, 2023
96abff7
Simplify DHCPLite.h
GsoyG Nov 19, 2023
a316f50
Modified output directory configuration, fix the warning MSB8004
GsoyG Nov 19, 2023
6b1d54a
Move structure to header file
GsoyG Nov 19, 2023
0bfa638
Formatting code
GsoyG Nov 19, 2023
e05dfb6
Simplify main function
GsoyG Nov 19, 2023
87d7252
Remove assert define
GsoyG Nov 19, 2023
3f47c37
Remove output related define
GsoyG Nov 19, 2023
1a5db13
Remove PushBack
GsoyG Nov 19, 2023
48acc22
Simplify code hierarchy
GsoyG Nov 19, 2023
13da92b
Split GetIPAddressInformation function
GsoyG Nov 20, 2023
1e031f3
Remove GetIPAddressInformation function declaration
GsoyG Nov 20, 2023
30e52ce
Encapsulate the start and stop functions and fix the stop bug
GsoyG Nov 20, 2023
8c4415c
Encapsulated function parameters
GsoyG Nov 20, 2023
73ede5f
Encapsulate callback function
GsoyG Nov 20, 2023
7f0553b
Fix address allocation logic error
GsoyG Nov 20, 2023
07fdf15
Remove IP processing macro definition
GsoyG Nov 20, 2023
7c4ae65
Remove macro definition
GsoyG Nov 21, 2023
b90d8fa
Encapsulated DHCPServer class
GsoyG Nov 21, 2023
9ff9ddc
Move function position
GsoyG Nov 21, 2023
3712c62
Improve class function encapsulation
GsoyG Nov 21, 2023
6fe4bc4
Improve exception control flow
GsoyG Nov 21, 2023
3d1b3d2
Remove unnecessary function parameters
GsoyG Nov 21, 2023
b18e7da
Rename structures and remove unnecessary structures
GsoyG Nov 21, 2023
04e77d9
Add DHCPMessage class
GsoyG Nov 22, 2023
e68e0d4
Improve DHCPMessage class
GsoyG Nov 23, 2023
0440453
Improve the DHCPMessage class and replace the relevant calling code
GsoyG Nov 23, 2023
8bfd06f
Change DHCPServer::Init return value
GsoyG Nov 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
Loading