Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
f6e4a98a
Commit
f6e4a98a
authored
Jul 11, 2011
by
Lambert CLARA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish to hide git_pkt from external API.
parent
283eeefb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
include/git2/types.h
+0
-6
src/pkt.h
+4
-4
No files found.
include/git2/types.h
View file @
f6e4a98a
...
...
@@ -185,12 +185,6 @@ typedef int (*git_transport_cb)(git_transport **transport);
typedef
struct
git_remote_head
git_remote_head
;
typedef
struct
git_headarray
git_headarray
;
/* Several types of packets */
typedef
enum
git_pkt_type
git_pkt_type
;
typedef
struct
git_pkt
git_pkt
;
typedef
struct
git_pkt_cmd
git_pkt_cmd
;
typedef
struct
git_pkt_ref
git_pkt_ref
;
/** @} */
GIT_END_DECL
...
...
src/pkt.h
View file @
f6e4a98a
...
...
@@ -37,9 +37,9 @@ enum git_pkt_type {
};
/* This would be a flush pkt */
struct
git_pk
t
{
typedef
struc
t
{
enum
git_pkt_type
type
;
};
}
git_pkt
;
struct
git_pkt_cmd
{
enum
git_pkt_type
type
;
...
...
@@ -49,11 +49,11 @@ struct git_pkt_cmd {
};
/* This is a pkt-line with some info in it */
struct
git_pkt_ref
{
typedef
struct
{
enum
git_pkt_type
type
;
git_remote_head
head
;
char
*
capabilities
;
};
}
git_pkt_ref
;
int
git_pkt_parse_line
(
git_pkt
**
head
,
const
char
*
line
,
const
char
**
out
,
size_t
len
);
int
git_pkt_send_flush
(
int
s
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment